Spread Windows Forms 12.0 Product Documentation
Add Method (IStyles)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IStyles Interface : Add Method
The new style name.
The duplicated style name.
Creates a new style and adds it to the list of styles that are available for the current workbook.
Syntax
'Declaration
 
Function Add( _
   ByVal name As String, _
   Optional ByVal duplicatedStyle As String _
) As IStyle
'Usage
 
Dim instance As IStyles
Dim name As String
Dim duplicatedStyle As String
Dim value As IStyle
 
value = instance.Add(name, duplicatedStyle)
IStyle Add( 
   string name,
   string duplicatedStyle
)

Parameters

name
The new style name.
duplicatedStyle
The duplicated style name.
Remarks
Returns null if the name already exist.
See Also

Reference

IStyles Interface
IStyles Members