2 Replies Latest reply on Apr 20, 2008 4:24 AM by (frekfeng)

    Help with TextWrap

    Level 1
      Hi All:
      In indesign script, I placed some text, I want to insert a image in the text and set the textWrap as wrap around bounding box.
      I placed a rectangle at the insertionPoint
      This is my script:
      Dim rec As InDesignServer.Rectangle = oInsertionPoint.Rectangles.Add()
      rec.TextWrapPreferences.TextWrapType = InDesignServer.idTextWrapTypes.idContour
      rec.TextWrapPreferences.TextWrapSide = InDesignServer.idTextWrapSideOptions.idBothSides
      but it did not effect on the rec, any help will be appreciated!