Exception | Description |
---|---|
System.InvalidOperationException | From the setter if the column was removed from the worksheet. |
If the width of the column is less than zero, the DefaultColumnWidth of the owning worksheet will be used as the column's width.
The value assigned must be between -1 and 65535. Invalid values will be automatically adjusted to valid values.
Setting or getting this property is equivalent to calling SetWidth(Double,WorksheetColumnWidthUnit) or GetWidth using the WorksheetColumnWidthUnit value of Character256th.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+