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

Free Support Forum - aspose.com

Pdf margin

Hi! I have a pdf with images which occupy almost the full page. Is there a way to shrink the content and add a 1/2inch margin on all sides of each page?

@schavali

Thanks for contacting support.

You may resize PDF Page content and adjust margins by following example given in “Resize Page Contents of Specific Pages in a PDF file” article of API documentation. In case you face any issue, please share your sample PDF document with us. We will test the scenario in our environment and address it accordingly.