Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

A button to rotate image fields in a PDF

New Here ,
Mar 26, 2025 Mar 26, 2025

How do I create a button to rotate an image field in 90 degree increments in a PDF while in Reader? Sometimes after clicking to add an image, the images show up rotated incorrectly. I'd like the user to be able to rotate the image field when that happens.

Does anyone know Java Script I could add or another way to add the feature?

Thanks!

TOPICS
How to
244
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2025 Mar 26, 2025

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from using the community">
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2025 Mar 27, 2025
LATEST

You can use JS to set the rotation property of a field to either 0, 90, 180 or 270, like this:

this.getField("FieldName").rotation = 90;

 

If you're interested, I've developed a (paid-for) tool that embeds a "toolkit" into the image fields in your file that allow the user to modify them very easily (including rotation) with a couple of clicks, even in Reader. You can find it here:

http://try67.blogspot.com/2017/04/acrobat-apply-image-fields-toolkit.html

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines