[]
Creates a new user defined style and adds it to the document.
public Style Add(string name, StyleType type)
Public Function Add(name As String, type As StyleType) As Style
Type | Name | Description |
---|---|---|
string | name | The name of the style to create. |
StyleType | type | The StyleType of the style to create. |
Type | Description |
---|---|
Style | The newly created style. |
Creates a new user defined style and adds it to the document.
public Style Add(string name, Style baseStyle)
Public Function Add(name As String, baseStyle As Style) As Style
Type | Name | Description |
---|---|---|
string | name | The name of the style to create. |
Style | baseStyle | The base Style for the new style. |
Type | Description |
---|---|
Style | The newly created style. |