Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 


Member of ChemDraw Control.Bond.

Returns the application associated with this bond.

Property type

Read-only property


Visual Basic
Public Property Application() As Object

Return Type


Returns the application associated with the selected object. Example: "ChemDraw ProControl"


'Declares variables - Object can be any ChemDraw object
 Dim vObject As ChemDrawControl10Ctl.Object
'Checks that there is an Object loaded the variable
 If  Selection.Object.Count < 1 Then
     Exit Sub
 End If

 Private Sub cmdApplication_click()
    'Reads the Object.Application property and assigns it to a text box
     Text1.Text = vObject.Application
 End Sub

See Also