NumberStyle Formatting English - Arabic-Hindi numbers

I have a docx file with some numbers and digits . I would like to change the format of all numbers in the document to hindi digits but I am not sure how to do that using Aspose.

In Office-2007 using Advanced words options I changed the numerals to from Arabic to Hindi.

After converting the word file using Aspose, the numbers in the pdf document does not preserve the number format (hindi) .

I attached two images one when the document is opened using word the other using pdf .
Can you please show me how to covert docx to pdf using Aspose while preserving the format or culture of the all numbers in the document ( page numbers , headers , fields , numbers inside the paragraphs , dates )

Thanks

Hi Nad,

Thanks for your inquiry. You can specify NumeralFormat that is used for rendering of numerals using PdfSaveOptions.NumeralFormat property. European numerals are used by default. Here is how you can set the numeral format when saving to PDF.

Document doc = new Document(MyDir + @"in.doc");
PdfSaveOptions options = new PdfSaveOptions();
options.NumeralFormat = NumeralFormat.Context;
doc.Save(MyDir + @"out.pdf", options);

I hope, this helps.

Best regards,