1 Reply Latest reply on Oct 30, 2018 2:12 AM by Laubender

    How can group 2 Rectangles in a Cells?

    daitranthanhoa Level 1

      I place 2 image in a cells

              F1.Tables(1).Cells(1).insertionPoints(1).contents = " "      

              F1.Tables(1).Cells(1).insertionPoints(1).Place("C:\test\1.tif")

              F1.Tables(1).Cells(1).insertionPoints(2).Place("C:\test\2.tif")

      Now, i want group 2 Rectangles :

      Dim arr() = {F1.Tables(1).Cells(1).Characters(1).PageItems(1), F1.Tables(1).Cells(1).Characters(2).PageItems(1)}

      Dim oGroup =  F1.Tables(1).Cells(1).Groups.Add(arr)

      But it occur error when call Cells(1).Groups.Add: Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

       

      How can group 2 Rectangles in a Cells?