We're sorry Aspose doesn't work properply without JavaScript enabled.

# Re: Problem with convert word to pdf in Persian Language

Hi,

Thanks for your inquiry. May be you need to specify the symbol set that is used to represent numbers while rendering to fixed page formats. Please see the following code:

Document doc = new Document(@"C:\Temp\in.doc");
PdfSaveOptions soPdf = new PdfSaveOptions();
soPdf.NumeralFormat = NumeralFormat.Context;
doc.Save(@"C:\Temp\out.pdf", soPdf);


I hope, this helps.

Best regards,

Hi,

Thanks for your inquiry. May be you need to specify the symbol set that is used to represent numbers while rendering to fixed page formats. Please see the following code:

Document doc = new Document(@"C:\Temp\in.doc");
PdfSaveOptions soPdf = new PdfSaveOptions();
soPdf.NumeralFormat = NumeralFormat.Context;
doc.Save(@"C:\Temp\out.pdf", soPdf);


I hope, this helps.

Best regards,

Thank you very much my dear friend Awais.
It’s work fine.