Software Developer's Kit - ChemDraw

Send comments on this topic
MakeConstraint Method
See Also 
ConstraintType

Description

Member of ChemDrawCtl.

Creates a new constraint in the ChemDraw control.

Syntax

Visual Basic
Public Function MakeConstraint( _
   ByVal ConstraintType As Long _
) As Constraint

Parameters

ConstraintType

Return Type

Example

Dim myConstraint As ChemDrawControl11Ctl.Constraint
Private Sub makeObject_Click()
    Set MyConstraint = ctlChemDraw.MakeConstraint 
    Constraint.selected = True
End Sub

See Also