Problem in converting word to pdf

When I convert .doc file to pdf then format of document gets disturb and some image also get delete.

I am using following code:

string dataDir = “f:\”;
Document doc = new Document(dataDir + “FillReportTemplate.doc”);
doc.Save(dataDir + “FillReportTemplate.pdf”);

Please help me to generate correct pdf.

Hi there,

Thanks for your inquiry. I have tested the scenario using latest version of Aspose.Words for .NET 15.7.0 and have not found the shared issue. Please use Aspose.Words for .NET 15.7.0. I have attached the output Pdf with this post for your kind reference.