Click or drag to resize

XlsStylesCollection Add Method (String)

Adds a new style with the specified name to the workbook.

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected IStyle Add(
	string name
)

Parameters

name
Type: System String
The name of the style to be added.

Return Value

Type: IStyle
The newly created style as an IStyle object.
See Also