Software Developer's Kit - ChemDraw

Send comments on this topic
Tables Property
See Also 


Member of ChemDrawControl.Objects.

Returns the tables from the collection of objects

Property type

Read-only property


Visual Basic
Public Property Tables() As Tables

Return Type


'Shows Tables   
 Private Sub cmdShowNumberOfTables_Click() 
     Dim myTable1 as ChemDrawControl10Ctl.Table
     Dim myTable2 as ChemDrawControl10Ctl.Table 
    'Checks if at least two Tables have been drawn
     If ctlChemDraw.Objects.Tables.Count > 2 Then 
         Set MyTable1 = ChemDrawControlCtl.Objects.Tables.Item(1)
         Set MyTable2 = ChemDrawControlCtl.Objects.Tables.Item(2)
     End If
 End Sub

See Also