|Value||(Variant) Column(s) width.|
integer - The value je in HTML units "em". 1em equals to the current font size. For example if the document font is 12pt then 1em equals to 12pt (0.5em = 6pt, 2em = 24pt)..
string "50px" - Value in pixels.
This setup is only temporary, it means after the column width is calculated based on current data the setting is no longer remembered and after the data is changed the width is not recalculated.
|nColArea||(Long) Detecting the area of the table (see Areas in the table).
1 - main area of the table
2 - left area of the table
|iCol||(Long) Column index (zero-based index, -1 = last column)|
|nCount||[optional] (Long) Number of columns to set the width to. |
- If not set, then the value je 1.
- If iCol=-1 (i.e. the last column) then it is the number of last columns (otherwise it is a number of columns since index iCol).
oTable.SetColWidth(10, 1, 5, 1);