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.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
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