ChapterPageSeparator
ChapterPageSeparator enumeration
Defines the separator character that appears between the chapter and page number.
public enum ChapterPageSeparator
Values
Name | Value | Description |
---|---|---|
Hyphen | 0 | A colon. |
Period | 1 | A period. |
Colon | 2 | A colon. |
EmDash | 3 | An emphasized dash. |
EnDash | 4 | A standard dash. |
Examples
Shows how to work with page chapters.
Document doc = new Document(MyDir + "Big document.docx");
PageSetup pageSetup = doc.FirstSection.PageSetup;
pageSetup.PageNumberStyle = NumberStyle.UppercaseRoman;
pageSetup.ChapterPageSeparator = Aspose.Words.ChapterPageSeparator.Colon;
pageSetup.HeadingLevelForChapter = 1;
See Also
- class PageSetup
- property ChapterPageSeparator
- namespace Aspose.Words
- assembly Aspose.Words