Software Developer's Kit - ChemDraw

Send comments on this topic
TopLeft Property
See Also 

Description

Member of ChemDraw Control.TLCPlate.

Sets and returns the top-left corner of the TLC plate.

Property type

Read-write property

Syntax

Visual Basic
Public Property TopLeft() As Point

Return Type

Remarks

Sets and returns the top left corner of the TLCPlate (possibly in a rotated frame).

Example

'Example of TLCPlate.TopLeft
 Dim myPoint as ChemDrawCtl10.Point
 Dim myTLCPlate as ChemDrawCtl10.TLCPlate

 Private Sub cmdTopLeft_Click()
     myPoint.x = 100
     myPoint.y = 100 
    'assigns the values using an object Point
     myTLCPlate.TopLeft = myPoint
     Label1.Caption = "The TopLeft.X of this TLCPlate is: " & Format(myTLCPlate.TopLeft.X, "####.##")
     Label2.Caption = "The TopLeft.Y of this TLCPlate is: " & Format(myTLCPlate.TopLeft.Y, "####.##")
     Label3.Caption = "The TopLeft.Z of this TLCPlate is: " & Format(myTLCPlate.TopLeft.Z, "####.##")
 End Sub

See Also