ExcelFile.SetColHidden Method
Overloads
ExcelFile.SetColHidden(Int32, Boolean)
Hides or shows a specific column. Note: If you are hiding many columns at the same time, you can call SetColHidden(Int32, Int32, Boolean) as it is faster.
Syntax
Namespace: FlexCel.Core
public abstract void SetColHidden(Int32 col, Boolean hide)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
col | Int32 | Column index (1 based). | |
hide | Boolean | If true, column will be hidden, if false it will be visible. |
See also
ExcelFile.SetColHidden(Int32, Int32, Boolean)
Hides or shows a range of columns.
Syntax
Namespace: FlexCel.Core
public abstract void SetColHidden(Int32 col1, Int32 col2, Boolean hide)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
col1 | Int32 | Column index of the first column in the range. (1 based) | |
col2 | Int32 | Column index of the last column in the range. (1 based) | |
hide | Boolean | If true, column will be hidden, if false it will be visible. |