Problem converting a Word file to pdf

Hi,

I’m evaluating your Word and Pdf component for my company, expecially for the doc to pdf conversion feature.

I’ve tested some word documents but one of them gives results totally unexpected. I’ve attached the doc and the generated pdf in this post.

The code I used is this:

Aspose.Words.Word word = new spose.Words.Word();
Document doc = word.Open(Ordine.NomeFile);
//Save the document in Aspose.Pdf.Xml format into a memory stream.
MemoryStream stream = new MemoryStream();
doc.Save(stream, SaveFormat.FormatAsposePdf);
stream.Seek(0, SeekOrigin.Begin);
//Load the document into an XmlDocument
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(stream);
//Load the XML document into Aspose.Pdf
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.BindXML(xmlDoc, null);
//Now produce the PDF file.
pdf.Save(Ordine.NomeFilePdf);

Thank you

Unfortunately, text wrapping around is not supported in our word-to-pdf conversion yet.

See https://docs.aspose.com/words/net/features/ for full information about our converters capabilities and limitations.

Best regards,