PDF Image Wrap

I have a word document that I am converting to PDF using version 3.2.2.0. The Word document contains 2 images side by side at the top of the page. The generated PDF displays the images one on top of the other. Here is the code I use for conversion:

Aspose.Word.Document doc = new Aspose.Word.Document( inputPath );

MemoryStream stream = new MemoryStream();

doc.Save(stream, Aspose.Word.SaveFormat.FormatAsposePdf);

stream.Seek(0, SeekOrigin.Begin);

pdf.IsImagesInXmlDeleteNeeded = true;

pdf.BindXML(stream, null );

pdf.Save(outputPath);

Any ideas why this is happening?

Thank you for considering Aspose.

Can you please attach the Word document and let us check it? Please note that it is safe to attach files in the forum. If you attach your document here, only you and Aspose staff members can download it.

I am terribly sorry for replying so late because of the mistake of our developers.

The images in the Word document are inline images but the xml generated by Aspose.Words does not set it as inline images. I have reported this problem to the Aspose.Words team. As a workaround, you can put the images into table cell like the attachment.