Click or drag to resize
NanoXLSX

WorksheetSetColumnHiddenState Method

Sets the defined column as hidden or visible

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
private void SetColumnHiddenState(
	int columnNumber,
	bool state
)

Parameters

columnNumber  Int32
Column number to hide on the worksheet
state  Boolean
If true, the column will be hidden, otherwise be visible
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException if the column number out of range
See Also