Worksheet.SetColumnHiddenState Method

PicoXLSX

PicoXLSX

WorksheetSetColumnHiddenState Method

Sets the defined column as hidden or visible

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
private void SetColumnHiddenState(
	int columnNumber,
	bool state
)

Parameters

columnNumber
Type: SystemInt32
Column number to hide on the worksheet
state
Type: SystemBoolean
If true, the column will be hidden, otherwise be visible
Exceptions
ExceptionCondition
RangeExceptionThrows an RangeException if the column number out of range
See Also