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

Class TableOfContentsEntry

Represents a single entry in a TableOfContents.

Inheritance
object
TableOfContentsEntry
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 TableOfContentsEntry

Constructors

TableOfContentsEntry()

Initializes a new instance of the TableOfContentsEntry class.

Declaration
public TableOfContentsEntry()

TableOfContentsEntry(int, string, int)

Creates a TOC entry with the given level, text, and page number.

Declaration
public TableOfContentsEntry(int level, string text, int pageNumber)
Parameters
Type Name Description
int level

Heading level (1-9).

string text

Heading text.

int pageNumber

Page number where the heading appears.

Properties

Level

Heading level (1-9). 1 = top-level heading.

Declaration
public int Level { get; set; }
Property Value
Type Description
int

PageNumber

The page number on which the heading appears.

Declaration
public int PageNumber { get; set; }
Property Value
Type Description
int

Text

The text of the heading.

Declaration
public string Text { get; set; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

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

Generated by DocFX