Add(String,StyleType) Method
In This Topic
Creates a new user defined style and adds it to the document.
Syntax
'Declaration
Public Overloads Function Add( _
ByVal As System.String, _
ByVal As StyleType _
) As Style
public Style Add(
System.string ,
StyleType
)
Parameters
- name
- The name of the style to create.
- type
- The StyleType of the style to create.
Return Value
The newly created style.
See Also