VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor.Xlsx Namespace / XlsxDocumentSheet Class / GetColumnWidth(Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetColumnWidth(Int32) Method (XlsxDocumentSheet)
In This Topic
Returns the column width.
Syntax
'Declaration

Public Function GetColumnWidth( _
ByVal columnIndex
The column index.
As System.Int32 _
) As System.Nullable(Of Double)
public System.Nullable<double> GetColumnWidth(
System.Int32 columnIndex
)

Parameters

columnIndex
The column index.

Return Value

The width, measured as defined in ECMA-376-1:2016.
Exceptions
ExceptionDescription
Thrown if columnIndex is less than zero -or- columnIndex is equal to or greater 16383.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also