Skip to main content
PDF Automation Station
Community Expert
Community Expert
May 19, 2021
Answered

Field position relative to stamp

  • May 19, 2021
  • 1 reply
  • 526 views

I am trying to add a form field in a position relative to a stamp using the rect of the stamp with + or - some points to determine the field's rect.  This works perfectly when the page rotation is zero.  I have read Thom Parker's article https://acrobatusers.com/tutorials/auto_placement_annotations/ and I can place an annotation adjusting for the page rotation.  I am trying to add a form field over top of a portion of the stamp positoning it relative to the stamp's rect.  I can't figure out how to this with page rotations other than zero.  Can somebody please offer some guidance?

This topic has been closed for replies.
Correct answer try67

There's no easy solution for this. You have to transform the location of the field to the rotated user space and move it accordingly. I would move the field manually, check its rect property and try to deduct from that how to change it in order to move it to the right location in relation to the stamp.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
May 19, 2021

There's no easy solution for this. You have to transform the location of the field to the rotated user space and move it accordingly. I would move the field manually, check its rect property and try to deduct from that how to change it in order to move it to the right location in relation to the stamp.