FixedPageNumeralFormat Enum
Wordize.Saving.FixedPageNumeralFormat enum. Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.
FixedPageNumeralFormat enumeration
Indicates the symbol set that is used to represent numbers while rendering to fixed page formats.
public enum FixedPageNumeralFormat
Values
Name | Value | Description |
---|---|---|
European | 0 | European numerals: 0123456789. |
ArabicIndic | 1 | Numerals used in Arabic: ٠١٢٣٤٥٦٧٨٩. Unicode range U+0660 - u+0669. |
EasternArabicIndic | 2 | Numerals used in Persian and Urdu: ۰۱۲۳۴۵۶۷۸۹. Unicode range U+06F0 - u+06F9. |
Context | 3 | Symbol set is decided from context(locale and RTL property). |
System | 4 | THIS OPTION IS NOT SUPPORTED. Symbol set is decided from regional settings. |
Examples
Shows how to set the numeral format used when saving to XPS.
XpsSaveOptions xpsSaveOptions = new XpsSaveOptions();
xpsSaveOptions.NumeralFormat = FixedPageNumeralFormat.ArabicIndic;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "FixedPageSaveOptions.NumeralFormat.xps", xpsSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize