Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.Arrows.

Returns the application associated with the arrows collection.

Property type

Read-only property

Syntax

Visual Basic
Public Property Application() As Object

Return Type

Remarks

This property returns the application of the collection of arrows.

Example

'Declares variables
 Dim myArrows As ChemDrawControl11Ctl.Arrows
 Set myArrows = ctlChemDraw.Selection.Objects.Arrows

 Private Sub cmdArrows_Click()
    'returns the application of the arrows collection
     Text1.text = MyArrows.Application
    'returns the number of arrows in the arrow collection
     Text2.text = MyArrows.Count 
    'sets the Item(1) of the arrows collection
     myArrows.Item(1).AngularSize = 90
    'returns the AngularSize of Item(1) of the arrows collection 
     Text3.text = MyArrows.Item(1).AngularSize
 End Sub

See Also