Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.Symbols

Returns the application associated with the symbols collection. 

Property type

Read-only property

Syntax

Visual Basic
Public Property Application() As Object

Return Type

Object

Remarks

This property returns the application of the collection of symbols.

Example

'Declares variables 
 Dim mySymbols As ChemDrawControl11Ctl.Symbols
 Set mySymbols = ctlChemDraw.Selection.Objects.Symbols

 Private Sub cmdSymbols_Click()
    'returns the application of the Symbols collection
     Text1.text = MySymbols.Application
    'returns the number of Symbols in the Symbols collection
     Text2.text = MySymbols.Count 
    'sets the Item(1) of the Symbols collection 
     mySymbols.Item(1).SymbolType = 4
    'returns symbol type of Item(1)of the Symbols collection 
     Text3.text = MySymbols.Item(1).SymbolType
 End Sub

See Also