Skip to main content
Participant
July 28, 2020
Question

Margin measurements

  • July 28, 2020
  • 1 reply
  • 354 views

How can I measure the margins of a PDF document? I need to be able to inspect many documents (100+) to see if their margins comply with requirements.

This topic has been closed for replies.

1 reply

jane-e
Community Expert
Community Expert
July 28, 2020

Does it work if you enable the rulers from the View menu and pull out ruler guides from the rulers?

 

~ Jane

dvkdvkAuthor
Participant
July 28, 2020

No.

 

As clearly stated in the post, I need to quickly test big number (100+, in some cases 1000+) documents whether the margin of the document is within the spec (e.g. not less than 0.75"). Doing this manually for every document would require a lot of billable hours. And, I need this to be done every 3 months. 

 

What is needed is a reference to a Javascript programming  (possibly with a combination with a PowerShell batch script) to process the files.

 

I was hoping to get a hint what JS method or variable that is specific for Acrobat I could use to get the document margins.

jane-e
Community Expert
Community Expert
July 28, 2020

I edited your post to add the tag for JavaScript since you hadn't mentioned that in your first query. Some of the scripters filter by the tags and will be more likely to catch your post now.

 

Acrobat does not have margins, as it is not a page layout program, but some of the scripters and programmers are quite talented and I never try to guess what they can or cannot do. 

 

~ Jane