Feature Request - PDF Scaling

Would it be possible to add the ability to scale all the pages in a PDF by a certain percentage?

Our applications stamps each page in a PDF on the top or bottom of the page, but sometimes the stamp is placed on top of text or images. We would like to scale all the pages to 95% (for example) so that we can be sure there is no text or images under the stamp.

I have attached the original and stamped copies of a PDF that was stamped with another application. You can see that the stamped PDF was scaled down slightly (it has larger empty borders).

Thanks

Hi Reuben,

Thanks for your interest in our products.

Kindly visit the following documentation links for more details and code snippets as per your requirement.

Please feel free to contact support in case you need any further assistance.

Thanks & Regards,

Hi Rashid,

Thanks for your reply. To be clear - I am talking about scaling existing PDFs, rather than changing the page size when generating new PDFs.

We are converting Microsoft Office documents to PDFs and then stamping them. Is it possible to scale existing PDFs using Aspose.Pdf?

Thanks,

Reuben

Hi Reuben,

Thanks for sharing the details.

You can set the different page size after modifying the existing PDF files but I am very sorry to share with you that you cannot set the page margins while working with existing PDF documents. Kindly visit the following documentation links for more details about setting the page display properties.

Please feel free to contact support in case you need any further assistance.

Thanks & Regards,