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

Free Support Forum - aspose.com

Header text cut off in PDF converted from DOCX

Hi,

When converting a DOCX to PDF, I noticed the header of one page was unexpectedly cut off in the PDF.

Code:
var doc = new Document(@".\test2.docx");
doc.Save(@".\test2.pdf");

In the Aspose output, the text in the header of the 5th page was cut off, while the headers in all other pages are fine.

If I used MS Word ‘save as’ to PDF, all headers are layered correctly.

I’ve attached the test files and a screenshot for your reference. Could you please take a look?

image.png (109.9 KB)

test files.zip (298.7 KB)

Thanks,

@ServerSide527

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18203. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.