


In the following example, I skip this problem, it does add some complexity to the solution. The first thing we have to decide is which corner of the field should stay where it is, which in turn identifies the three corners that need to change their location. To make this work, we have to both rotate the field content (easily done by setting the rotation property) and we have to resize the field, which is a bit more complicated. That is different when we have a text field that is meant for horizontal text, and then we rotate the field content as we’ve done in the first example. This will then result in correctly aligned text in that text field. a text field, and that would very likely be taller than it’s wide:Īnd, in a second step, you would then change the rotation of the field on its properties dialog: When we take a step back and look at how a rotated form field is placed in a form, that makes sense: We would first draw the outline of e.g. It’s pretty obvious that there is something wrong here: The only thing that was rotated is the form field content, but the field’s location, width and height are the same as before. When you now try to rotate this field by setting its rotation property, you will very likely end up with something that looks nothing like what you expected (that is, if you’ve selected a rotation of 90 or 270 degrees, with 180 degrees things will look OK without having to do anything else).Īnd the same after the fields are rotated by 90 degrees: Have you tried to rotate a field in a PDF form after it was created in Acrobat? If so, you may have scratched your head a bit.īefore we get to the how, let’s first talk about the why: When you have two different documents, one having a page rotation of 0 degrees, and the second one with a page rotation of 90 degrees (or, two different pages in the same document with different page rotations), and you copy a form field from one page to a page with a different page rotation, the form field will be rotated, and you will have to rotate it back in order to get the correct alignment and orientation.
