Software Developer's Kit - ChemDraw

Send comments on this topic
Geometries Property
See Also 

Description

Member of ChemDraw Control.selection

Returns the geometries that are selected

Property type

Read-only property

Syntax

Visual Basic
Public Property Geometries() As Geometries

Return Type

Remarks

Returns the geometries collection in the selection.

Example

'Uses an object from the selection  
 Private Sub 
cmdCommand_Click()
     If  Selection.Geometries.Count < 1 Then
         Exit Sub
     End If    
     Set myGeometrie = selection.Geometries.Item(1)
 End Sub 

See Also