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
)
Protected Function Add (
name As String
) As IStyle
protected:
IStyle^ Add(
String^ name
)
member Add :
name : string -> IStyle
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