Free Support Forum - aspose.com

Size (Dimensions) of the PDF page

Hi,
Is there a way to find out the dimensions of a PDF page.
I need to work out whether it’s landscape or portrait


Submitted from: http://saaspose.com/

Hi Khaled,

This feature is not supported at the moment but a new feature request (SAASPDF-52) has been logged against this issue into our issue tracking system. We will try to support this feature as soon as possible and keep you updated on this issue.

Please feel free to contact us in case you have further comments or questions.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Khaled,

I would like to share that this feature has been implemented and is in testing phase. We will let you know as soon as it is live.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Khaled,

I would like to share that this feature has been implemented. Please check HTTP GET example at http://saaspose.com/docs/display/pdf/page which includes the 'Rectangle' in response to give you the dimensions of a specific page. Please also share your development environment so that we can share specific examples for this feature with you.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Khaled,

Did you try this feature at your end? I hope it's working fine for you now. If you still find any further questions or need help, please do let us know.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.

Hi,

Sorry for the late reply,
We ended up using another method to get the `rectangle` and haven't had a chance to use the feature yet.

I'm sure we'll need it soon though.

Thanks for your quick response in getting it up and running though.