1 Reply Latest reply on Aug 26, 2010 6:36 AM by mlavie

    How to set "FitToContent" on a Frame

    mlavie Level 1

      I have created a frame using myPage.TextFrames.add(). Then, I placed a large picture on it using myFrame.place(File("/c/myPic.jpg).


      The picture is too large for the frame, and in my JavaScript I would like to set its fit to "FitToContent". I can't find any documentation how to do that. Any ideas?