Description
Sets a TableCell.WidthUnits object that represents the units used for the width of a particular column.
C#
public void SetPreferredColumnWidthUnits(int column, WidthUnits units)
vb.net
Public Sub SetPreferredColumnWidthUnits(ByVal column As Integer, ByVal units As WidthUnits)
Parameters
column
The column index for which to get the width units.units
The preferred width units.Remarks
MS Word equivalent: Table menu > Table properties... > Column tab > Size section > Column #: > Measure in:Examples
C#
//--- Set the column width units for the 3rd column to percentage
oTable.SetPreferredWidthUnits(2, TableCell.WidthUnits.Percentage);
vb.net
'--- Set the column width units for the 3rd column to percentage
oTable.SetPreferredWidthUnits(2, TableCell.WidthUnits.Percentage)
