We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Rendering docx to pdf, image being positioned over the margins

When the attached .docx is being rendered to a .pdf all is fine until you get to page x you can then see the image on the left column is being “floated” over the upper margin. Whereas in the original .docx the image is where we’d expect it to be.

File oldone.docx produces oldone.pdf.

This is the code (it’s pretty straightforward!) :slight_smile:

static void Main(string[] args)
{
        var source = new Document(@"c:\temp\oldone.docx");
        source.Save(@"c:\temp\oldone.pdf");
} 

oldone.zip (6.1 MB)

@RSCAlan,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18442. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.