[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ListTemplateCollection

ListTemplateCollection Class

Stores and manages formatting of bulleted and numbered lists used in a document.

Inheritance
ListTemplateCollection
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class ListTemplateCollection : IReadOnlyList<ListTemplate>, IReadOnlyCollection<ListTemplate>, IEnumerable<ListTemplate>, IEnumerable
Public Class ListTemplateCollection
    Implements IReadOnlyList(Of ListTemplate), IReadOnlyCollection(Of ListTemplate), IEnumerable(Of ListTemplate), IEnumerable

Properties

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.

Methods

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.