Software Developer's Kit - ChemDraw

Send comments on this topic
Brackets Property
See Also 

Description

Member of ChemDraw Control.selection

Returns the brackets that are selected

Property type

Read-only property

Syntax

Visual Basic
Public Property Brackets() As Brackets

Return Type

Remarks

Returns the brackets collection in the selection.

Example

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

See Also