1 Reply Latest reply on May 10, 2016 7:55 AM by Laubender

    Get parent textframe of insertion point

    aviR Level 1


      How can I get the parent textframe of an insertionpoint?

      my code:

      var idParentFrm= InsPnt.parent;

      This gives the story but i want the textframe

      Please suggest

      Thank You

        • 1. Re: Get parent textframe of insertion point
          Laubender Adobe Community Professional & MVP
          var idParentFrm = InsPnt.parentTextFrames[0];


          But be aware, that for overset text, there is no parent text frames array.


          Why an array?
          Because text that is flowing from frame to frame can have several parent text frames (or text paths).

          However, one single insertion point should have only one parent text frame.

          And this one will be denoted through the first index in that array.