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.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
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