Software Developer's Kit - ChemDraw

Send comments on this topic
TLCPlates Property
See Also 


Member of ChemDraw Control.Group.

Returns the TLCPlates collection of this group.

Property type

Read-only property


Visual Basic
Public Property TLCPlates() As TLCPlates

Return Type


The TLCPlates property refers to the collection of TLCPlates which is within this Group. The properties associated with the collection are the following:

myGroup.TLCPlates.Application      returns the application associated with the TLCPlates collection
myGroup.TLCPlates.Count             returns the number of TLCPlates in the collection
myGroup.TLCPlates.Item(i)           returns one TLCPlate from the collection 
myGroup.TLCPlates.Parent            returns the parent of the TLCPlates collection

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


'Returns the number of TLCPlates in this Group
 Dim MyGroup As ChemDrawControl10Ctl.Group
 Private Sub ChemDrawControl10Ctl_SelectionChanged(ByVal selection As ChemDrawControl10Ctl.IChemDrawSelection)
     If  ChemDrawControl10Ctl.Objects.Groups.Count = 1 Then 'Checks if a Group has been drawn
         Set MyGroup = ChemDrawControl10Ctl.Objects.Groups.Item(1)
         Text1.Text = "Number of TLCPlates in this group: " + MyGroup.TLCPlates.Count 
         'there are no TLC plates in this group
     End If
 End Sub

See Also