Skip to main content
Hooly0019
Participant
October 27, 2016
Answered

Recognize paper size in a multi PDF file

  • October 27, 2016
  • 2 replies
  • 397 views

I have a big PDF file containing about 200 oversize drawings with different paper sizes.

Is there any way to know how many drawings of each size are there in the file? instead of scrolling and checking one by one.

e.g. Need to know if there are 40, 30"x 42:,    30, 24" x 36"   25, 11" x 17" etc.

This topic has been closed for replies.
Correct answer gkaiseril

You can ue the document object's "getPageBox" and specify which box, usually the crop box, and page number. /The returned array will have the corners of the pox in printer points (1/72 of an inch).

2 replies

gkaiserilCorrect answer
Inspiring
October 27, 2016

You can ue the document object's "getPageBox" and specify which box, usually the crop box, and page number. /The returned array will have the corners of the pox in printer points (1/72 of an inch).

Bernd Alheit
Community Expert
Community Expert
October 27, 2016

You can check the page sizes with Acrobat JavaScript.