Back to DOM
ChapterSeparatorValuesEnum
Definition
- Namespace
- DOM.Enums
- Assembly
- DOM.dll
Specifies the separator used between chapter and page numbers.
Remarks
Used by when is . The selected character is rendered between the chapter number and the page number (for example "1-1" or "1.1"). PageNumberType.ChapterSeparator IncludeChapterNumber true
Examples
csharp
1// 1. Hyphen separator ("1-1")
2var pn = new PageNumberType { ChapterSeparator = ChapterSeparatorValues.Hyphen };
3
csharp
1// 2. Period separator ("1.1")
2var pn = new PageNumberType { ChapterSeparator = ChapterSeparatorValues.Period };
3
csharp
1// 3. Colon separator ("1:1")
2var pn = new PageNumberType { ChapterSeparator = ChapterSeparatorValues.Colon };
3
csharp
1// 4. Em-dash separator ("1—1")
2var pn = new PageNumberType { ChapterSeparator = ChapterSeparatorValues.EmDash };
3
Fields
Colon
Colon separator ("1:1").
EmDash
Em-dash separator ("1—1").
EnDash
En-dash separator ("1–1").
Hyphen
Hyphen separator ("1-1").
Period
Period separator ("1.1").