Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.Document.

Returns the application of the document.

Property type

Read-only property

Syntax

Visual Basic
Public Property Application() As Application

Return Type

Example

 Private Sub cmdCommand_Click()  
     Dim myDocument As ChemDrawControl11Ctl.Document 
     Set myDocument = ctlChemDraw.ActiveDocument
    'returns the application of the document
     cmdCommand.Caption = myDocument.Application
 End Sub

See Also