Copy link to clipboard
Copied
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
You can use the VB Javascript bridge. Documentation is in the Acrobat SDK.
Copy link to clipboard
Copied
Try this:
blnAnnotations = jso.CheckAnnots(jso, 0)
Copy link to clipboard
Copied
Hello Bernd,
blnAnnotations = jso.CheckAnnots(jso, 0) works wonderful. Thank you very much.
I tested successfully with argument jso. Now I can checkfrom VBA Code if a PDF Page has got Annotations.
Best Regards
Josua
Copy link to clipboard
Copied
You don’t need to make and call a function. You can’t define functions through JSObject so far as I know.