Software Developer's Kit - ChemDraw

Send comments on this topic
Constraints Property
See Also 

Description

Member of ChemDraw Control.AltGroup.

Returns the constraints in this AltGroup.

Property type

Read-only property

Syntax

Visual Basic
Public Property Constraints() As Constraints

Return Type

Remarks

The constraints property refers to the collection of constraints which is within this AltGroup. The members of this collection will be the constraints in this AltGroup. The properties associated with the collection are the following:

myAltGroup.Constraints.Application      returns the application associated with the constraints collection
myAltGroup.Constraints.Count             returns the number of constraints in the collection
myAltGroup.Constraints.Item(i)           returns one constraint from the collection
myAltGroup.Constraints.Parent            returns the parent of the constraints collection

With AltGroup.Constraints.Item(i) all the constraint properties are enabled for constraint(i). This index starts with 1.

See Also