Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Karl Heinz  Kremer
Community Expert
Community Expert
Dec 22, 2016 6:03 PM UTC

You would place the stamp via the Doc.addAnnot() method. See it's documentation here: Acrobat DC SDK Documentation​ There are some samples on that page, but not specifically for stamps. 

This is a simple snippet to add add the "Sign Here" stamp:

var annot = this.addAnnot({

      type: "Stamp",

      page: 0,

      rect: [400, 400, 550, 500],

      AP: "SHSignHere",

  });

To find out what the "AP" of the stamp you want to add is, use the instructions from here: https://acrobatusers.com/tutorials/dynamic_stamp_secrets

Translate
try67
Community Expert
Community Expert
Dec 21, 2016 8:37 PM UTC

Yes. You can add a stamp using a script. You need to know its unique AP value and then you'll be able to add it using the addAnnot method of the Document object.

Translate
johnb21438567
Participant
Dec 22, 2016 3:42 PM UTC

If possible I  am a newbie.  can you please give me a step by step.  Thank you in advance

Translate
try67
Community Expert
Community Expert
Dec 22, 2016 4:53 PM UTC

You can start with this tutorial: https://acrobatusers.com/tutorials/auto_placement_annotations

Translate