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.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
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