2 Replies Latest reply on Mar 8, 2016 11:52 PM by newtoindesign

    Setting the Anchored Object Options Reference Point

    newtoindesign Level 1

      Hi guys, i've exhausted all searching and trial and error and am just plain stuck. All I'm trying to is edit the Anchored Object Options for an object i've inserted into text, but I have no idea what the correct syntax is, nothing seems to work!

      I'm expecting be able to just put it in like this, as per the reference, or in with the geometicBounds bit, but nothing works. Is it not scriptable?

      var myTF = myTxt.insertionPoints[-1].graphicLines.add({geometricBounds:myGeo}); 
      myTF.AnchorPoint.BOTTOM_RIGHT_ANCHOR;   // doesnt work 
      myTF.anchoredObjectSettings.AnchorPoint = AnchorPoint.BOTTOM_RIGHT_ANCHOR; // doesnt work 
      myTF.parent.AnchoredObjectSetting(AnchorPoint.BOTTOM_RIGHT_ANCHOR);     // doesnt work