1 Reply Latest reply on Jul 22, 2014 10:11 AM by Jump_Over

    Geometric Bounds

    Math Kay Level 1

      I am beginner in learning the Indesign Scripting. For adding text frame in indesign, I don't know about Geometric bounds. Please explain about  X1, X2, Y1, Y2. how to find these bounds in indesign.

        • 1. Re: Geometric Bounds
          Jump_Over Level 5

          Hi,

           

          1. notice where zeroPoint is and how ruleOrigin is set.

          2. select an object and notice coordinates of top-left (X1,Y1) point and bottom-right point  (X2,Y2)

          3. compare it to app.selection[0].geometricBounds     ==> which results in order:  Y1,X1,Y2,X2

           

          Jarek