Software Developer's Kit - ChemDraw

Send comments on this topic
TopRight Property
See Also 

Description

Member of ChemDraw Control.TLCPlate.

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

Property type

Read-write property

Syntax

Visual Basic
Public Property TopRight() As Point

Return Type

Remarks

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

Example

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

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

See Also