Table
SetColumnWidth Method
|
Sets the width of all cells in the current column of the table.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void SetColumnWidth(
int columnIndex,
float columnWidth,
CellWidthType columnWidthType
)
Public Sub SetColumnWidth (
columnIndex As Integer,
columnWidth As Single,
columnWidthType As CellWidthType
)
public:
void SetColumnWidth(
int columnIndex,
float columnWidth,
CellWidthType columnWidthType
)
member SetColumnWidth :
columnIndex : int *
columnWidth : float32 *
columnWidthType : CellWidthType -> unit
Parameters
-
columnIndex
-
Type:
System
Int32
Index of the column.
-
columnWidth
-
Type:
System
Single
The column width.
-
columnWidthType
-
Type:
Spire.Doc
CellWidthType
The column width type.
See Also