Software Developer's Kit - ChemDraw

Send comments on this topic
Components Property
See Also 

Description

Member of ChemDraw Control.StoichiometryGrid.

Returns the components contained within this StoichiometryGrid.

Property type

Read-only property

Syntax

Visual Basic
Public Property Components() As SGComponents

Return Type

Remarks

SGComponents is a collection containing all of the SGComponent objects in this stoichiometry grid. If mySGComponents is a SGcomponents collection object:

MySGComponents.Application    returns the application associated with the SGComponent 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 mySGComponent(i). This index starts with 1.

See Also