These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

test if page is blank

taupirho
Registered: Oct 7 2008
Posts: 16

Hi,

Is there way in Adobe javascript to test if the current page you are on in a PDF document is blank

My Product Information:
Acrobat Pro 9.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You can test if there are no words in it using getNthPageNumWords and you can also test if there are any annotations or form fields on the page, but you can't know for sure that it's completely blank because there still might be images on it, or some other content that JS has no access to.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

taupirho
Registered: Oct 7 2008
Posts: 16
Thanks for the info