chapterPageSeparator property
PageSetup.chapterPageSeparator property
Gets or sets the separator character that appears between the chapter number and the page number.
get chapterPageSeparator(): Aspose.Words.ChapterPageSeparator
Remarks
Before you can create page numbers that include chapter numbers, the document headings must have a numbered outline format applied.
Examples
Shows how to work with page chapters.
let doc = new aw.Document(base.myDir + "Big document.docx");
let pageSetup = doc.firstSection.pageSetup;
pageSetup.pageNumberStyle = aw.NumberStyle.UppercaseRoman;
pageSetup.chapterPageSeparator = aw.ChapterPageSeparator.Colon;
pageSetup.headingLevelForChapter = 1;
See Also
- module Aspose.Words
- class PageSetup