Click or drag to resize
NanoXLSX

XlsxWriterCalculatePaneWidth Method

Method to calculate the pane width, based on the number of columns

Namespace: NanoXLSX.LowLevel
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
private float CalculatePaneWidth(
	Worksheet worksheet,
	int numberOfColumns
)

Parameters

worksheet  Worksheet
worksheet object to get the column definitions from
numberOfColumns  Int32
Number of columns from the left to the split position

Return Value

Single
Internal width from the left of the worksheet to the pane split position
See Also