I have created a word document and tried to convert it to a PDF using the following code:
Aspose.Word.Document wordDoc = new Aspose.Word.Document(wordDocName);
MemoryStream stream = new MemoryStream();
XmlDocument xmlDoc = new XmlDocument();
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.IsImagesInXmlDeleteNeeded = true;
However, the pdf created contains a large number of errors ranging from extra page insertion, to incorrect header and footer text.
Can you let me know how to resolve these issues - a sample word document is attached.