Software Developer's Kit - ChemDraw

Send comments on this topic
MakeBracket Method
See Also 
type

Description

Member of ChemDrawCtl.

Creates a new bracket in the ChemDraw control.

Syntax

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

Parameters

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

Return Type

Example

 Dim myBracket As ChemDrawControl11Ctl.Bracket
 Private Sub
cmdCommand_Click()
    'creates an object within the control
     Set MyBracket = ChemDrawCtl.MakeBracket kCDBracketTypeCurly
     myBracket.selected = True
 End Sub

See Also