NanoXLSX Library Documentation
![]() | WorkbookRemoveStyle Method (String) |
Removes the defined style from the style sheet of the workbook
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public void RemoveStyle( string styleName )
Parameters
- styleName
- Type: SystemString
Name of the style to be removed

Exception | Condition |
---|---|
StyleException | Throws an StyleException if the style was not found in the style collection (could not be referenced) |
