Skip to content

PdfFlowHeadingContent.AutoNumber Property

Gets or sets a value indicating whether the headings should be numbered automatically.

C#
public bool AutoNumber { get; set; }

Property Value

Boolean

If true the headings are numbered automatically based on their position in the document and relative to their parent heading.

Remarks

The heading number is generated in the format x.y.z, with one number for each level. Level 1 headings will have one number (x), level 2 headings will have 2 numbers (x.y) where the first number matches the number of parent level 1 heading. Level 3 headings will have 3 numbers (x.y.z) and so on.