Click or drag to resize
NanoXLSX

WorkbookRemoveStyle(String) Method

Note: This API is now obsolete.

Removes the defined style from the style sheet of the workbook. This method is deprecated since it has no direct impact on the generated file.

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
Syntax
C#
[ObsoleteAttribute("This method has no direct impact on the generated file and is deprecated.")]
public void RemoveStyle(
	string styleName
)

Parameters

styleName  String
Name of the style to be removed
Remarks
Note: This method is available due to compatibility reasons. Added styles are actually not removed by it since unused styles are disposed automatically
See Also