 | WorksheetSetColumnDefaultStyle(String, Style) Method |
Sets the default column style of the passed column address
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
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
ExceptionsException | 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