 | WorksheetSetColumnDefaultStyle(String, Style) Method |
Sets the default column style of the passed column address
Namespace: PicoXLSXAssembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.5+6ab75fa9edd66571b0de8e574b48108101297ca1
Syntaxpublic Style SetColumnDefaultStyle(
string columnAddress,
Style style
)
Parameters
- columnAddress String
- Column address (A - XFD)
- style Style
- Style to set as default. If null, the style is cleared
Return Value
StyleAssigned style or null if cleared
Exceptions| Exception | Condition |
|---|
| RangeException | Throws a RangeException: a) If the passed column address is out of range b) if the column width is out of range (0 - 255.0) |
See Also