Class TocHeading
Info
Represents options for Headings or Titles of Table of Contents to document by Documentize.TocGenerator plugin.
public class TocHeading
Inheritance
Inherited Members
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
TocHeading(string, int, bool, int)
Initializes a new instance of the Documentize.TocHeading.
public TocHeading(string text, int pageNumber, bool generateNumbering = false, int level = 1)
Parameters
text
string: The Text of the Title.pageNumber
int: Page Number for link.generateNumbering
bool: Using Number generation.level
int: The Level.
Properties
GenerateNumbering
Using Number generation.
If true
, then the numbering should be done automatically; otherwise, the numbering should be done manually.
public bool GenerateNumbering { get; set; }
Property Value
Level
The Level. Used for Number generation.
public int Level { get; set; }
Property Value
PageNumber
The Page Number for link.
public int PageNumber { get; set; }
Property Value
Text
The Text of the Title.
public string Text { get; set; }
Property Value
Namespace: Documentize Assembly: Documentize.dll