0 Replies Latest reply on Feb 26, 2010 8:06 PM by suresh_ed

    Grouping Textframe and rectangle object ID Server CS4

    suresh_ed

      Below code for simple grouping objects is not working. Since there is not selection in ID Server CS4.


      ID Server CS4
      Vb.net


      Dim FigGp As InDesignServer.Objects
      Dim obj As InDesignServer.Objects
      obj.Add(rect.Index) 'throwing exception Object reference not set to an instance of an object.
      obj.Add(CaptionFrame)
      FigGp = ParentPage.Groups.Add(obj)

      Regards,

      Suresh