Check if all the pdf pages are of the same size

Hi,

I wanted to check if there is more effecient way of checking if all the pages are os the same size instead of iterating through each page and checking for height and width. the problem in iterating is it costs a lot on performance when the pdf file are big like 300 pages or more.

Can you please guide me if there is a beter way of perfomring this.

Regards,

Hi Rajeev,


Thanks for contacting support.

In order to determine the page dimensions of PDF file, you need to iterate through individual pages of PDF file and I am afraid you cannot determine the difference in page sizes using any other approach. We are sorry for this inconvenience.