Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ListTemplateCollection Class / Add Method / Add(Style,String) Method
A list style.
The name for the list template.

In This Topic
    Add(Style,String) Method
    In This Topic
    Creates a new list template that references a list style and adds it to the collection of list templates in the document.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal style As Style, _
       ByVal name As System.String _
    ) As ListTemplate
    public ListTemplate Add( 
       Style style,
       System.string name
    )

    Parameters

    style
    A list style.
    name
    The name for the list template.

    Return Value

    The newly created list template.
    See Also