Convert DOC to PDF: problem with margins- header and footer

Hello,

I have created a new Word document with such page setup: paper size: A4, margins: left/right/top - 1cm, bottom - 1.2cm, footer from edge - 0.7cm, header from edge - 0cm. Then I convert this Word document to PDF document and all margin and footer settings are incorrect, e.g. footer is not 0.7cm from the bottom edge, but ~1.5cm.

Specs:
Microsoft .NET Framework 2.0 (VS2005, C#)
Aspose.Pdf version 3.6.0.0
Aspose.Words version 4.4.0.0

Regards,
Mindaugas

Hi,

Thank you for considering Aspose.

Can you please provide your word document and let us investigate this issue.

Thanks.

I’ve attached a sample Word document.

Regards,
Mindaugas

Update on his issue: the problem was not in Apose.Pdf component, which generates PDF document, but in Adobe Reader, which prints it. Adobe Reader scales document to printer paper size, so you get the result you don’t expect. Case closed.

Regards,
Mindaugas