Skip to main content
johnb21438567
Participant
December 21, 2016
Question

Use Stamp in actions

  • December 21, 2016
  • 2 replies
  • 1490 views

I have a Custom Stamp that I want to use in the Actions area.  can thuis be done.

This topic has been closed for replies.

2 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

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.

johnb21438567
Participant
December 22, 2016

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

try67
Community Expert
Community Expert
December 22, 2016