Software Developer's Kit - ChemDraw

Send comments on this topic
Count Property
See Also 

Description

Member of ChemDrawControl.TLCLanes.

Returns the number of TLCLanes in a collection of TLCLanes.

Property type

Read-only property

Syntax

Visual Basic
Public Property Count() As Long

Return Type

Long

Remarks

Returns the number of TLCLanes in a collection of TLCLanes.

Example

'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