Software Developer's Kit - ChemDraw

Send comments on this topic
Right Property
See Also 

Description

Member of ChemDraw Control.TLCPlate.

Returns the right side of the rectangle bounding this TLCPlate.

Property type

Read-only property

Syntax

Visual Basic
Public Property Right() As Double

Return Type

Double

Remarks

Returns the right of the rectangle bounding this object, expressed in points.

Example

'Declares variable vObject - Object can be any ChemDraw object
 Dim vObject As ChemDrawControl10Ctl.object
'Checks that there is an object loaded in the variable
 If  Selection.Objects.Count < 1 Then
     Exit Sub
 End If

 Private Sub cmdRight_click()
    'Returns the right side of the rectangle bounding the object
     Text1.text = vObject.Right
 End Sub

See Also