This... didn't work for me. Creating a button that
usesImageField1.rotate = "90"; rotates the FIELD, but not the image
contained inside. So it rotates fine, but it doesn't resize the content.
I can see this making somewhat of a mess in flowable content forms,
too.Adding xfa.layout.relayout();messes it up. I'm not sure what it's
doing, or how, but it pushed my picture way off-page somehow. You can
see just the edge of the picture going off the page: