[]
Creates a new list template and adds it to the collection of list templates in the document.
public ListTemplate Add(bool isMultiLevel)
| 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)
| 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)
| Type | Name | Description |
|---|---|---|
| Style | style | A list style. |
| string | name | The name for the list template. |
| 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)
| 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. |