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

Free Support Forum - aspose.com

Resize pdf (from 11"X17" to 8.5"X11"), page contents are not stretch fit

Hi ,
I am trying to resize pdf (let’s say from 11"X17" to 8.5"X11") using Aspose.pdf and Aspose.pdf.Facades; I have searched Aspose Support Forum the topic, and someone suggest using PdfPageEditor’s zoom, but what if the zoom values are different for width and height, the another side data will lost or will be fill with blank. so what is the best solution?


Thank you for contacting support.

You can resize page contents as explained in Resize Page Contents of Specific Pages in a PDF file. If you have tried it already, then please share source and generated files with us while elaborating the problem you are currently facing. Please also share the link of post which you are referring to, and the code snippet you are working with, so that we may investigate further to help you out.

Thanks, It works using Aspose.Pdf.Facades.PdfFileEditor.


Thank you for your kind feedback.

We are glad to know that the suggested approach is working in your environment. Please feel free to contact us if you need any further assistance.