10 Replies Latest reply on Feb 12, 2016 6:09 AM by Karl Heinz Kremer

    Get page numbers that contain rotated text

    dantescristo

      Hello,

       

      I searched through the documentation for JavaScript for Adobe, however I did not have success in finding information about getting the rotation of text.

       

      Practically, I would need a code for the JavaScript console in Adobe Pro, that would find pages that have rotated text. Rotated by 90 or 270 degrees. Basically, I would need to get the page numbers of landscape pages, that are shown as portrait. I tried using getPageRotation command, however the PDFs were converted with the pages in portrait, and show no rotation. This is why I would need a function that would recognize rotated text.

       

      Is this possible? Thanks!