Description
Returns a TableCell.WidthUnits object that represents the units used for the width of a particular column.
C#
public WidthUnits GetPreferredColumnWidthUnits(int column)
vb.net
Public Function GetPreferredColumnWidthUnits(ByVal column As Integer) As WidthUnits
Parameters
column
Anint representing the column index for which to get the width units.
Returns
ATableCell.WidthUnits object representing the units used at the specified column index.
Remarks
MS Word equivalent: Table menu > Table properties... > Column tab > Size section > Column #: > Measure in:Examples
C#
//--- Get the column width units for the 3rd column
TableCell.WidthUnits oCellWidthUnits =
oTable.GetPreferredColumnWidthUnits(2);
vb.net
'--- Get the column width units for the 3rd column
Dim oCellWidthUnits As TableCell.WidthUnits = _
oTable.GetPreferredColumnWidthUnits(2)
