PageNumbers.HeadingLevelForChapter Property

Definition

Returns or sets the heading level style that's applied to the chapter titles in the document. Can be a number from 0 (zero) through 8, corresponding to heading levels 1 through 9.

public:
 property int HeadingLevelForChapter { int get(); void set(int value); };
public int HeadingLevelForChapter { get; set; }
member this.HeadingLevelForChapter : int with get, set
Public Property HeadingLevelForChapter As Integer

Property Value

Remarks

Before you can create page numbers that include chapter numbers, the document headings must have a numbered outline format applied that uses styles from the Bullets and Numbering dialog box. To do this programmatically, use the ApplyListTemplate method of the List or ListFormat object.

Applies to