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

Free Support Forum - aspose.com

How to remove margin- header- footer and border in PDF

Hi all,

I wants to remove margin, header, footer and border of a pdf file using aspose.pdf. I am unable to do so.

Kindly, help me out.

Thanks and regards,
Subhransu Pradhan



Thanks for contacting support.

If you want to remove white spaces around the PDF Page you may follow the example i.e “Trim White-space around a Page” in our API docs.
However if you have some different requirement, we will really appreciate if you share more details along with your input and expected output file.