Software Developer's Kit - ChemDraw

Send comments on this topic
AddLane Method
See Also 
retval
Indicates an object of type TLCLane.

Description

Member of ChemDraw Control.TLCPlate.

Add a new lane to the TLC plate.

Syntax

Visual Basic
Public Sub AddLane( _
   ByVal retval As TLCLane _
) 

Parameters

retval
Indicates an object of type TLCLane.

Return Type

Remarks

This method adds a lane to the TLCPlate. To add a lane you must have a spot.

Example

'Example of TLCPlate.AddLane
 Private Sub cmdAddLane_Click()
     Dim MyTLCSpot As TLCSpot
     Dim MyTLCLane As TLCLane
     myTLCPlate.AddLane MyTLCLane
     myTLCPlate.Lanes(myTLCPlate.Lanes.Count).AddSpot MyTLCspot
     MyTLCSpot.Rf = 0.5
     MyTLCSpot.Color = vbGreen
 End Sub

See Also