SaveToPdf was replaced with Save in Aspose.Words 9.2.0

Hi,

I am using Aspose.Word to convert WordML to PDF. When the PDf file is generated, I see that text is that the test is overlapping in PDF file. I use following code to generate PDF file. Please advice.

Thanks

Ashish

doc = new global::Aspose.Words.Document(strXmlFileName);

doc.SaveToPdf(strPdfFileName);

Hi Ashish,

Thanks for your inquiry. It seems you are using some old version of Aspose.Word as SaveToPdf() method was replaced with Save() method in Aspose.Words v9.2.0. Please check following article for further details.

Please download and try latest Aspose.Words API. Hopefully your issue will be resolved. If it persists then please share your sample input/output document for further investigation so we suggest solution accordingly.

Please feel free to contact us for any further assistance.

Thanks Tilal, appreciate your help. New version fixed my problem;

Ashish