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
December 22, 2016

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
December 21, 2016

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
December 22, 2016

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
December 22, 2016

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

Translate