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

Free Support Forum - aspose.com

Shapes on the top of document are moved to bottom of page in output PDF using .NET

Hi,

When converting a DOCX to a PDF, I noticed the elements on the header were moved or missing.

Code:

var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\test.pdf");

I have attached my test files and a screenshot for your reference. Could you please help me take a look?

test.zip (81.9 KB)
image.png (39.9 KB)

Thanks,

@ServerSide527

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-21054 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.