2 Replies Latest reply on Jul 24, 2012 4:52 PM by caseyctg

    Text wrap after placing image?

    caseyctg Level 1

      So I am placing my image using:.

       

      var myGraphic = newDoc.pages.item(i).place(File(RepPhotoFile), [4.3703, 4.5277], undefined, false, true)[0];

       

      How would I then apply a textwrap on that image with .125" around it?

       

      I tried:

       

      myGraphic.textFramePreferences.insetSpacing([.125, .125, .125, .125])

       

      myGraphic.textFramePreferences.insetSpacing = [".125", ".125", ".125", ".125"];

       

      myGraphic.TextWrapPreferences.TextWrapOffset = Array(".125", ".125", ".125", ".125")