PageNumbers.HeadingLevelForChapter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.