Software Developer's Kit - ChemDraw

Send comments on this topic
MakeBracket Method
See Also 
type

Description

Member of ChemDraw Control.Document.

Creates a new bracket in the document

Syntax

Visual Basic
Public Function MakeBracket( _
   ByVal type As CDBracketType _
) As Bracket

Parameters

type
ValueDescription
kCDBracketTypeSquare[ ] brackets
kCDBracketTypeCurly{ } braces
kCDBracketTypeRound( ) parentheses

Return Type

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Private Sub cmdCommand_Click()
     
Set MyBracket = myDocument.MakeBracket kCDBracketTypeCurly
     myBracket.selected = True  
     ctlChemDraw.Zoom 1000
 End Sub

See Also