Class TableOfContents
Represents a table of contents in a document. Holds the generation options and the computed entries. Use UpdateTableOfContents() to populate the entries by walking the document headings.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class TableOfContents
Constructors
TableOfContents()
Initializes a new instance of the TableOfContents class.
Declaration
public TableOfContents()
Properties
Entries
The computed TOC entries. Populated by UpdateTableOfContents().
Declaration
public TableOfContentsEntryCollection Entries { get; }
Property Value
| Type | Description |
|---|---|
| TableOfContentsEntryCollection |
FieldInstruction
The field instruction string for this TOC, built from Options.
Declaration
public string FieldInstruction { get; }
Property Value
| Type | Description |
|---|---|
| string |
Options
Options that control which headings are included and how entries are formatted.
Declaration
public TableOfContentsOptions Options { get; set; }
Property Value
| Type | Description |
|---|---|
| TableOfContentsOptions |