Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.ReactionSchemes

Returns the application associated with the ReactionSchemes 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 reaction schemes.

Example

'Declares and loads variable
 Dim myReactionSchemes As ChemDrawControl11Ctl.ReactionSchemes
 Set myReactionSchemes = ctlChemDraw.Selection.Objects.ReactionSchemes

 Private Sub cmdReactionSchemes_Click()
    'returns the application of the ReactionSchemes collection
     Text1.text = MyReactionSchemes.Application
    'returns the number of ReactionSchemes in the ReactionSchemes collection
     Text2.text = MyReactionSchemes.Count 
    'sets the Item(1) of the ReactionSchemes collection 
     myReactionSchemes.Item(1).Arrows.Color = vbRed
    'returns element number of Item(1)of the ReactionSchemes collection 
     Text3.text = MyReactionSchemes.Item(1).Arrows.Count
 End Sub

See Also