GetColWidth - method of the PmgWTable object
Description:
Returns column width (in pixels).
Syntax:
Long GetColWidth(Long Col)
Parameters:
Col | (Long) If the value is greater or equal 0 then it is a column index (zero-based index, counted including the fixed part).
Value -2 means the last column. |
---|
Example:
Detects the width of the 5th column
JavaScriptVBScriptSelect and copy to clipboard
var oTable = pMe.Items("/Table");
var nWidth = oTable.GetColWidth(4);
Dim oTable
Set oTable = pMe.Items("/Table")
Dim nWidth
nWidth = oTable.GetColWidth(4)