[]
Stores and manages formatting of bulleted and numbered lists used in a document.
public class ListTemplateCollection : IReadOnlyList<ListTemplate>, IReadOnlyCollection<ListTemplate>, IEnumerable<ListTemplate>, IEnumerable
| Name | Description |
|---|---|
| Count | Gets the count of numbered and bulleted list templates in the document. |
| Document | Gets the parent document. |
| this[int] | Gets a list template by its index. |
| this[string] | Gets a list template by its name. |
| PictureBullets | Gets the collection of picture bullets to be used in list templates. |
| Name | Description |
|---|---|
| Add(BuiltInListTemplateId, string) | Creates a new list template based on a predefined template and adds it to the collection of lists templates in the document. |
| Add(Style, string) | Creates a new list template that references a list style and adds it to the collection of list templates in the document. |
| Add(bool) | Creates a new list template and adds it to the collection of list templates in the document. |
| Add(bool, string) | Creates a new list template and adds it to the collection of list templates in the document. |
| Contains(string) | Checks whether this collection contains a list template with a specified name. |
| TryGetValue(string, out ListTemplate) | Tries to find a list template with a specified name. |