Software Developer's Kit - ChemDraw

Send comments on this topic
Application Property
See Also 

Description

Member of ChemDraw Control.TLCSpots.

Returns the application associated with the TLCSpots collection

Property type

Read-only property

Syntax

Visual Basic
Public Property Application() As Object

Return Type

Remarks

Returns the application associated with the TLCSpots collection.

Example

'Declares variables 
 Dim myTLCSpots As ChemDrawControl11Ctl.TLCSpots
 Set myTLCSpots = ctlChemDraw.Selection.Objects.TLCSpots

 Private Sub cmdTLCSpots_Click()
    'returns the application of the TLCSpots collection
     Text1.text = MyTLCSpots.Application
    'returns the number of TLCSpots in the TLCSpots collection
     Text2.text = MyTLCSpots.Count 
    'returns the color of Item(1) of the TLCSpots collection 
     Text3.text = MyTLCSpots.Item(1).Color
 End Sub

See Also