Version

GetDefaultColumnWidth Method

Gets the default column width in the specified units.
Syntax
public double GetDefaultColumnWidth( 
   WorksheetColumnWidthUnit units
)

Parameters

units
The units in which the width should be returned.

Return Value

The default column width in the specified units.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionunits is not defined in the WorksheetColumnWidthUnit enumeration.
Remarks

If units is Character256th, the value returned will be the same as the value of the DefaultColumnWidth property.

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