Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / StyleCollection Class / Add Method / Add(String,StyleType) Method
The name of the style to create.
The StyleType of the style to create.

In This Topic
    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 name As System.String, _
       ByVal type As StyleType _
    ) As Style
    public Style Add( 
       System.string name,
       StyleType type
    )

    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