[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IStyles.Add

Add Method

Add(string, string)

Creates a new style and adds it to the list of styles that are available for the current workbook.

Declaration
IStyle Add(string name, string duplicatedStyle = null)
Function Add(name As String, Optional duplicatedStyle As String = Nothing) As IStyle
Parameters
Type Name Description
string name

The new style name.

string duplicatedStyle

The duplicated style name.

Returns
Type Description
IStyle

An IStyle object.

Remarks

Returns null if the name already exist.