Click or drag to resize
NanoXLSX

WorksheetSetSplit(NullableSingle, NullableSingle, Address, NullableWorksheetWorksheetPane) Method

Sets the horizontal and vertical split of the worksheet into four panes. The measurement in characters cannot be used to freeze panes

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public void SetSplit(
	float? leftPaneWidth,
	float? topPaneHeight,
	Address topLeftCell,
	WorksheetWorksheetPane? activePane
)

Parameters

leftPaneWidth  NullableSingle
Width (similar to column width) from left of the worksheet to the split line in characters.
The parameter is nullable. If left null, the method acts identical to SetHorizontalSplit(Single, Address, NullableWorksheetWorksheetPane)
topPaneHeight  NullableSingle
Height (similar to row height) from top of the worksheet to the split line in characters.
The parameter is nullable. If left null, the method acts identical to SetVerticalSplit(Single, Address, NullableWorksheetWorksheetPane)
topLeftCell  Address
Top Left cell address of the bottom right pane (if applicable)
activePane  NullableWorksheetWorksheetPane
Active pane in the split window.
The parameter is nullable
See Also