Version

SetDefaultColumnWidth(Double,WorksheetColumnWidthUnit) Method

Sets the default column width in the specified units.
Syntax
public void SetDefaultColumnWidth( 
   double value,
   WorksheetColumnWidthUnit units
)

Parameters

value
The default column width to set on the worksheet, expressed in the specified units.
units
The units in which the value is expressed.
Exceptions
ExceptionDescription
System.ArgumentExceptionvalue is infinity or NaN.
System.ComponentModel.InvalidEnumArgumentExceptionunits is not defined in the WorksheetColumnWidthUnit enumeration.
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