Skip to main content
Known Participant
Jul 2, 2019 8:01 PM UTC
Answered

How to check if a PDF Page has no annotations like comments or Fill and Sign

Hello,

is it possible to check if a PDF page has no annotations like comments of Fill and Sign. I'm working with Adobe Acrobat and VBA.

I need a function with result =  false if there is no Comment or Fill and Sign on a page of a PDF document. I hope someone can help me with a little bit code.

Best Regards from Germany

Josua

This topic is closed to new replies. Start a new post to keep the conversation going.
Bernd Alheit
Bernd AlheitCorrect answer
Community Expert
Jul 4, 2019 12:06 PM UTC

You can use the VB Javascript bridge. Documentation is in the Acrobat SDK.

27 replies

Legend
Jul 9, 2019 6:48 AM UTC

You don’t need to make and call a function. You can’t define functions through JSObject so far as I know.

Translate
Known Participant
Jul 4, 2019 11:44 AM UTC

Hello Bernd,

thanks for your answer. How can I implement it in VBA?

Best Regards

Josua

Translate
Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
Jul 4, 2019 12:06 PM UTC

You can use the VB Javascript bridge. Documentation is in the Acrobat SDK.

Translate
Known Participant
Jul 5, 2019 8:18 PM UTC

Is it really possible to use Acrobat javasript Bridge with VBA or only with VB?

Best Regards

Josua

Translate
Bernd Alheit
Community Expert
Community Expert
Jul 4, 2019 8:36 AM UTC

With Acrobat Javascript you can test/check the annotations.

Translate