Version

GetWidth Method

Gets the column width in the specified units, or NaN if the column has the default width.
Syntax
public double GetWidth( 
   WorksheetColumnWidthUnit units
)

Parameters

units
The units in which the width should be returned.

Return Value

The column width in the specified units, or NaN if the column has the default width.
Exceptions
Remarks

If units is Character256th, the value returned will be the same as the value of the Width property, with one exception: if the column has the default width, this method will return NaN and Width will return -1.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also