7 Replies Latest reply on May 5, 2010 1:10 PM by mebegreg

    How to group one or more textFrames

    Level 1
      Hi All:
      There are two textFrames(textFrame1,textFrame2) in my page,I want to
      group the two textFrames.The code is like this (vb.net):

      Dim Ary(1)
      Ary.SetValue(textFrame1,0)
      Ary.SetValue(textFrame2,1)
      Dim myGroup As InDesignServer.Group = oDocument.Groups.Add(Ary)

      The error is: Invalid Paramer.

      Any suggestion? Thanks