How to Rotate Stamps or Annotations via Javascript?
I am trying to automate the rotation of a given stamp that is duplicated across multiple pages. Typically I would attempt to script such procedure, but I lack information regarding the methods I have available. In what ways can you refer to an annotation, and what is the appropriate rotate method called?
The only rotation I managed to achieve was by selecting the stamp, then executing a command along the lines of " this.selectedAnnots[0].rotate = <angle to rotate>".
However, not only do I not want to select and execute the command (as that would be similar to manually rotating with the grip), but also, the rotation shrinks my stamp for some reason.
Is there a more appropriate way to do this? Note I am using the Standard Version of Acrobat.
Thanks
