Hi,
I am trying to convert my Word document (Docx) to a pdf document. The Word document contains a summary and one title.
So, i use Aspose.Words and Aspose.Pdf :
Document srcDoc = new Document(docPath);
MemoryStream xmlDoc = new MemoryStream();
srcDoc.Save(xmlDoc, Aspose.Words.SaveFormat.AsposePdf); <<<<< BUG !
xmlDoc.Position = 0;
pdf.BindXML(xmlDoc, null);
pdf.Save(pdfPath);
When i try to save the document, i have this error :
Value cannot be null.
Parameter name : value
What is wrong with my code ? I join to this post my word document.
Thanks a lot for your answers.
Gilles.