[]
Creates a new IStyle and adds it to the list of styles that are available for the current IWorkbook.
IStyle Add(string name, IRange baseOn = null)
Function Add(name As String, Optional baseOn As IRange = Nothing) As IStyle
Type | Name | Description |
---|---|---|
string | name | The new IStyle name. |
IRange | baseOn | An IRange object that refers to a cell that's used as the basis for the new style. If this argument is omitted, the newly created style is based on the Normal style. |
Creates a new IStyle and adds it to the list of styles that are available for the current IWorkbook.
IStyle Add(string name, IStyle baseOn)
Function Add(name As String, baseOn As IStyle) As IStyle
Type | Name | Description |
---|---|---|
string | name | The new IStyle name. |
IStyle | baseOn | A IStyle object that refers to be used as the basis for the new style. |