8 Replies Latest reply on Oct 9, 2008 11:47 AM by (jxswm)

    [CS3][VB] Invalid object GeometricBounds in table cell

      Hello,

      the following VB code is working in InDesign CS2, but not in CS3:

      ' objElem is a text from a table cell and now I place an image
      Set pic = PlaceImage(objElem.InsertionPoints.Item(posS + i), strPicPath)

      ' In the next line I get the Error: Invalid object for this request
      GB = pic.GeometricBounds

      This gives not always an error. Sometimes it is working in CS3. I think it depends on the image size.

      Is there a problem in CS3 when using GeometricBounds in this way?
      I know Adobe changed something in the GeometricBounds function in CS3.

      Best regards

      Harald