Software Developer's Kit - ChemDraw

Send comments on this topic
Graphics Property
See Also 


Member of ChemDraw Control.AltGroup.

Returns the graphics in this AltGroup.

Property type

Read-only property


Visual Basic
Public Property Graphics() As Graphics

Return Type


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

myAltGroup.Graphics.Application      returns the application associated with the graphics collection
myAltGroup.Graphics.Count             returns the number of graphics in the collection
myAltGroup.Graphics.Item(i)           returns one graphic from the collection 
myAltGroup.Graphics.Parent            returns the parent of the graphics collection

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

See Also