Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.Documents.

Returns the application of the documents collection.

Property type

Read-only property

Syntax

Visual Basic
Public Property Application() As Application

Return Type

Application

Remarks

This property returns the application of the collection of documents.

Example

'Declares variables 
 Dim myDocuments As ChemDrawControl11Ctl.Documents
 Set myDocuments = ctlChemDraw.Selection.Objects.Documents

 Private Sub cmdDocuments_Click()
    'returns the application of the documents in the collection
     Text1.text = MyDocuments.Application 
 End Sub

See Also