Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.StoichiometryGrids.

Returns the application of the collection of StoichiometryGrids

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 StoichiometryGrids.

Example

'Declares variables 
 Dim myStoichiometryGrids As ChemDrawControl11Ctl.StoichiometryGrids
 Set myStoichiometryGrids = ctlChemDraw.Selection.Objects.StoichiometryGrids

 Private Sub cmdStoichiometryGrids_Click()
    'returns the application of the StoichiometryGrids collection
     Text1.text = MyStoichiometryGrids.Application
    'returns the number of StoichiometryGrids in the StoichiometryGrids collection
     Text2.text = MyStoichiometryGrids.Count 
    'returns the number of components of Item(1) of the StoichiometryGrids collection 
     Text3.text = myStoichiometryGrids.Item(1).Components.count
 End Sub

See Also