 | UtilsGetInternalPaneSplitWidth Method |
Calculates the internal width of a split pane in a worksheet. This width is used only in the XML documents of worksheets and is not exposed to the (Excel) end user
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+064d9a8047d8da6ad83b4776af2459e923cc7c3d
Syntaxpublic static float GetInternalPaneSplitWidth(
float width,
float maxDigitWidth = 7f,
float textPadding = 5f
)
Parameters
- width Single
- Target column(s) width (one or more columns, displayed in Excel)
- maxDigitWidth Single (Optional)
- Maximum digit with of the default font (default is 7.0 for Calibri, size 11)
- textPadding Single (Optional)
- Text padding of the default font (default is 5.0 for Calibri, size 11)
Return Value
SingleThe internal pane width, used in worksheet XML documents in case of worksheet splitting
Remarks
See Also