Software Developer's Kit - ChemDraw

Send comments on this topic
SGComponents Collection
See Also  Members 


Member of ChemDraw Control.

For a list of all members defined for this collection, see SGComponents Members.

ChemDraw SGComponents Collection contains all of the SGComponent objects in the document.  

Object Model


SGComponents is a collection containing all of the SGComponent objects in a SGComponent. If mySGComponents is an SGComponents collection object:

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

Using mySGComponents.Item(i) all the SGComponent properties are enabled for mySGComponents(i). This index starts with 1.

See Also