Software Developer's Kit - ChemDraw

Send comments on this topic
Constraints Collection
See Also  Members 

Description

Member of ChemDraw Control.

For a list of all members defined in this collection, see Constraints Members.

ChemDraw Constraints Collection contains all of the constraint objects in the document. 

Object Model

Remarks

Constraints is a collection containing all of the constraint objects in the ChemDraw document. If myConstraints is a constraints collection object:

MyConstraints.Application  returns the application associated with the constraints collection
MyConstraints.Count         returns the number of constraints in the collection 
MyConstraints.Item(i)        given an index, references one constraint in particular
MyConstraints.Parent        returns the parent of the collection of constraints

Using MyConstraints.Item(i) all the constraint properties are enabled for myConstraints(i). This index starts with 1.

See Also