• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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.

Inheritance
object
TableOfContents
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX