Skip to main content
four80eastfan
Participating Frequently
September 19, 2017
Answered

check if pdf has stamp using javascript

  • September 19, 2017
  • 1 reply
  • 697 views

Is there a way to check a pdf using javascript to see if it has a stamp in it?

This topic has been closed for replies.
Correct answer Karl Heinz Kremer

You can iterate over all annotations and check for a type of stamp. See here for some information about how to loop over all your annotations:

Acrobat DC SDK Documentation - Doc.getAnnots()

And here is information about the type property of the Annotation object: Acrobat DC SDK Documentation - Annotation.type 

1 reply

Karl Heinz  Kremer
Community Expert
Karl Heinz KremerCommunity ExpertCorrect answer
Community Expert
September 19, 2017

You can iterate over all annotations and check for a type of stamp. See here for some information about how to loop over all your annotations:

Acrobat DC SDK Documentation - Doc.getAnnots()

And here is information about the type property of the Annotation object: Acrobat DC SDK Documentation - Annotation.type