Software Developer's Kit - ChemDraw

Send comments on this topic
Geometries Property
See Also 

Description

Member of ChemDraw Control.Document.

Returns the geometries collection of the document.

Property type

Read-only property

Syntax

Visual Basic
Public Property Geometries() As Geometries

Return Type

Example

 Private Sub cmdCommand_Click()  
     Dim myDocument As ChemDrawControl11Ctl.Document 
     Set myDocument = ctlChemDraw.ActiveDocument
    'returns the collection from the document
     cmdCommand.Caption = myDocument.Geometries.Count
 End Sub

See Also