public void SetWidth( double value, WorksheetColumnWidthUnit units )
Exception | Description |
---|---|
System.ArgumentException | value is infinity. |
Infragistics.Documents.Excel.MockClasses.InvalidEnumArgumentException | units is not defined in the WorksheetColumnWidthUnit enumeration. |
System.InvalidOperationException | If the column was removed from the worksheet. |
Setting a value of NaN will reset the column width so that the column uses the default column width of the worksheet.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+