Free Support Forum - aspose.com

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();<o:p></o:p>

soPdf.NumeralFormat = NumeralFormat.Context;<o:p></o:p>

doc.Save(@“C:\Temp\out.pdf”, soPdf);<o:p></o:p>


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();<o:p></o:p>

soPdf.NumeralFormat = NumeralFormat.Context;<o:p></o:p>

doc.Save(@“C:\Temp\out.pdf”, soPdf);<o:p></o:p>


I hope, this helps.

Best regards,

Thank you very much my dear friend Awais.

It’s work fine.