[]
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)
| 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. |
| Type | Description |
|---|---|
| IStyle | The new IStyle. |
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)
| 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. |
| Type | Description |
|---|---|
| IStyle | The new IStyle. |