after opening a DOCX doing some simple Range.Replace calls and Save. The resulting PDF cannot be opened by Adobe Reader X. I can with the Windows 8 reader. I got the latest DLL, version 13.3.0.1, but get the same result. Reader states the file is either not a supported file type or has been damaged.
Code snippet:
Aspose.Words.Document doc = new Aspose.Words.Document(template);
var todayDate = DateTime.UtcNow.FromUTCToCentralTime().ToString("dddd, MMMM dd, yyyy");
doc.Range.Replace(TODAYS_DATE, todayDate, true, true);
doc.Range.Replace(EMPLOYER_NAME, loan.Customer.Employer.Name, true, true);
doc.Save(template, SaveFormat.Pdf);
Note: this is the trial edition of Words if that make a difference. Need to validate function before purchase but failure to open PDF with Adobe Reader is a NO GO.