Copy link to clipboard
Copied
have javaScript to create stamp its working fine, but stamp size is little big, i need to reduce size of stamp, please help me
have use below code in custom calculation script
var cAsk = "Enter stamp you want to give";var cTitle = "Document state for stamp";if( event.source.forReal && (event.source.stampName == "#stamp1")){ event.value = app.response(cAsk,cTitle);}
1 Correct answer
First, if it's a fixed size you want, just make the stamp smaller. You can do this by creating a new graphic and then doing a page replacement on the stamp file.
If you want to control the stamp size dynamically, then you'll need to place the stamp with a script.
Copy link to clipboard
Copied
You can't do it with a script, as the stamp doesn't yet exist at that point.
Copy link to clipboard
Copied
First, if it's a fixed size you want, just make the stamp smaller. You can do this by creating a new graphic and then doing a page replacement on the stamp file.
If you want to control the stamp size dynamically, then you'll need to place the stamp with a script.
Use the Acrobat JavaScript Reference early and often

