[]
Creates a new list template and adds it to the collection of list templates in the document.
public ListTemplate Add(bool isMultiLevel)
Public Function Add(isMultiLevel As Boolean) As ListTemplate
Type | Name | Description |
---|---|---|
bool | isMultiLevel | Indicates whether the new list template should be multilevel. |
Type | Description |
---|---|
ListTemplate | The newly created list template. |
Creates a new list template and adds it to the collection of list templates in the document.
public ListTemplate Add(bool isMultiLevel, string name)
Public Function Add(isMultiLevel As Boolean, name As String) As ListTemplate
Type | Name | Description |
---|---|---|
bool | isMultiLevel | Indicates whether the new list template should be multilevel. |
string | name | The name for the list template. |
Type | Description |
---|---|
ListTemplate | The newly created list template. |
Creates a new list template that references a list style and adds it to the collection of list templates in the document.
public ListTemplate Add(Style style, string name)
Public Function Add(style As Style, name As String) As ListTemplate
Type | Description |
---|---|
ListTemplate | The newly created list template. |
Creates a new list template based on a predefined template and adds it to the collection of lists templates in the document.
public ListTemplate Add(BuiltInListTemplateId templateId, string name)
Public Function Add(templateId As BuiltInListTemplateId, name As String) As ListTemplate
Type | Name | Description |
---|---|---|
BuiltInListTemplateId | templateId | The id of a built in list template. |
string | name | The name for the list template. |
Type | Description |
---|---|
ListTemplate | The newly created list template. |