Class representing a column of a worksheet.
More...
|
| Style | SetDefaultColumnStyle (Style defaultColumnStyle, bool unmanaged=false) |
| | Sets the default style of the column.
|
| | Column (int columnCoordinate) |
| | Constructor with column number.
|
| | Column (string columnAddress) |
| | Constructor with column address.
|
Class representing a column of a worksheet.
Definition at line 17 of file Column.cs.
◆ Column() [1/2]
| NanoXLSX.Column.Column |
( |
int | columnCoordinate | ) |
|
Constructor with column number.
- Parameters
-
| columnCoordinate | Column number (zero-based, 0 to 16383) |
Definition at line 124 of file Column.cs.
◆ Column() [2/2]
| NanoXLSX.Column.Column |
( |
string | columnAddress | ) |
|
Constructor with column address.
- Parameters
-
| columnAddress | Column address (A to XFD) |
Definition at line 133 of file Column.cs.
◆ SetDefaultColumnStyle()
| Style NanoXLSX.Column.SetDefaultColumnStyle |
( |
Style | defaultColumnStyle, |
|
|
bool | unmanaged = false ) |
Sets the default style of the column.
- Parameters
-
| defaultColumnStyle | Style to assign as default column style. Can be null (to clear) |
| unmanaged | Internally used: If true, the style repository is not invoked and only the style object of the cell is updated. Do not use! |
- Returns
- If the passed style already exists in the repository, the existing one will be returned, otherwise the passed one
Definition at line 93 of file Column.cs.
◆ ColumnAddress
| string NanoXLSX.Column.ColumnAddress |
|
getset |
◆ DefaultColumnStyle
| Style NanoXLSX.Column.DefaultColumnStyle |
|
get |
Gets the default style of the column.
Definition at line 82 of file Column.cs.
◆ HasAutoFilter
| bool NanoXLSX.Column.HasAutoFilter |
|
getset |
If true, the column has auto filter applied, otherwise not.
Definition at line 44 of file Column.cs.
◆ IsHidden
| bool NanoXLSX.Column.IsHidden |
|
getset |
If true, the column is hidden, otherwise visible.
Definition at line 48 of file Column.cs.
◆ Number
| int NanoXLSX.Column.Number |
|
getset |
◆ Width
| float NanoXLSX.Column.Width |
|
getset |
Width of the column.
Definition at line 66 of file Column.cs.
The documentation for this class was generated from the following file: