These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Stamp Rotation

cab72550
Registered: May 15 2007
Posts: 2

Hello,

It is possible to create a javascript that can rotate custom stamps. For example i have a stamp and its horizontally oriented. i dont want to create a vertical oriented stamps. What i want is a button or command maybe it will have a javescript on it then it will rotate my stamps from horizontal to vertical. Or what do you think is the best thing to do on this problem because you can't simple rotate any stamps on acrobat.

Thanks...

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, stamps are annotations and all annotations have a rotation property that can be controlled from JavaScript. You could do this with an automation script after the stamp is placed, or you could write it into the stamp script. See this article:

http://www.acrobatusers.com/tutorials/2007/dynamic_stamp_secrets/

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script