Software Developer's Kit - ChemDraw

Send comments on this topic
TLCLanes Collection
See Also  Members 


Member of ChemDraw Control.

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

ChemDraw TLCLanes Collection contains all of the TLCLane objects in the document. 

Object Model


TLCLanes is a collection containing all of the TLCLane objects. If myTLCLanes is a TLCLanes collection object:

MyTLCLanes.Application   returns the application associated with the TLCLanes collection
MyTLCLanes.Count          returns the number of  TLCLanes in the collection
MyTLCLanes.Item(i)        given an index, references one TLCLane in particular, enabling all the TLCLane properties
MyTLCLanes.Parent         returns the parent of the TLCLanes collection

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


'Declares variables 
 Dim myTLCLanes As ChemDrawControl11Ctl.TLCLanes
 Set myTLCLanes = ctlChemDraw.Selection.Objects.TLCLanes

 Private Sub cmdTLCLanes_Click()
    'returns the application of the TLCLanes collection
     Text1.text = MyTLCLanes.Application
    'returns the number of TLCLanes in the TLCLanes collection
     Text2.text = MyTLCLanes.Count 
    'returns spots of Item(1) of the TLCLanes collection 
     Text3.text = MyTLCLanes.Item(1).Spots
 End Sub

See Also