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

Free Support Forum - aspose.com

Creating PDF with no margins

I am working on creating a .pdf file that contains information for fields that will be printed onto a form. The paper form that it is being printed to uses the entire page. The problem that I am having is getting rid of the margins on the sides on the .pdf file. I have set my margins to 0 using Aspose.Pdf.MarginInfo and yet there is still some space at the sides of the pages. Is there a strictly enforced margin around the .pdf? I need my text to be almost to the very edge of the page.


Hi Zachary,

Thanks for contacting support.

As per your requirement, you may consider following instructions specified over Trim White-space Around a Page