FixedPageSaveOptionsNumeralFormat Property |
Gets or sets
NumeralFormat used for rendering of numerals.
European numerals are used by default.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic NumeralFormat NumeralFormat { get; set; }
Public Property NumeralFormat As NumeralFormat
Get
Set
public:
property NumeralFormat NumeralFormat {
NumeralFormat get ();
void set (NumeralFormat value);
}
member NumeralFormat : NumeralFormat with get, set
Property Value
Type:
NumeralFormat
Remarks
If the value of this property is changed and page layout is already built then
UpdatePageLayout is invoked automatically to update any changes.
ExamplesDemonstrates how to set the numeral format used when saving to PDF.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Writeln("1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 50, 100");
PdfSaveOptions options = new PdfSaveOptions();
options.NumeralFormat = NumeralFormat.EasternArabicIndic;
doc.Save(ArtifactsDir + "Rendering.SetNumeralFormat.pdf", options);
See Also