class
Column
Source: aspose.
Represents a single column in a worksheet.
Methods
applyStyle(style, flag)
Applies formats for a whole column.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
style |
|
The style object which will be applied. |
|
flag |
|
Flags which indicates applied formatting properties. |
getGroupLevel()
Gets the group level of the column.
getIndex()
Gets the index of this column.
getStyle()
Gets the style of this column. You have to call Column.ApplyStyle() method to save your changing with the row style, otherwise it will not effect.
getWidth()
Gets and sets the column width in unit of characters.
isCollapsed()
whether the column is collapsed
isHidden()
Indicates whether the column is hidden.
setCollapsed()
whether the column is collapsed
setHidden()
Indicates whether the column is hidden.
setWidth()
Gets and sets the column width in unit of characters.