Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.Tables.

Returns the application associated with the Tables collection

Property type

Read-only property

Syntax

Visual Basic
Public Property Application() As Object

Return Type

Remarks

Returns the application associated with the Tables collection.

Example

'Declares variables 
 Dim myTables As ChemDrawControl11Ctl.Tables
 Set myTables = ctlChemDraw.Selection.Objects.Tables

 Private Sub cmdTables_Click()
    'returns the application of the Tables collection
     Text1.text = MyTables.Application
    'returns the number of Tables in the Tables collection
     Text2.text = MyTables.Count 
    'returns number of rows of Item(1) of the Tables collection 
     Text3.text = MyTables.Item(1).NumRows
 End Sub

See Also