Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Default member of ChemDraw Control.Splines

Returns the application of the splines 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 atoms.

Example

'Declares variables 
 Dim mySplines As ChemDrawControl11Ctl.Splines
 Set mySplines = ctlChemDraw.Selection.Objects.Splines

 Private Sub cmdSplines_Click()
    'returns the application of the Splines collection
     Text1.text = MySplines.Application
    'returns the number of Splines in the Splines collection
     Text2.text = MySplines.Count 
    'sets the Item(1) of the Splines collection 
     mySplines.Item(1).HeadSize = 12
    'returns arrow head type of Item(1)of the Splines collection 
     Text3.text = MySplines.Item(1).ArrowHeadType
 End Sub

See Also