Software Developer's Kit - ChemDraw

Send comments on this topic
Bottom Property
See Also 

Description

Member of ChemDraw Control.Group.

Returns the bottom of the rectangle bounding this group.

Property type

Read-only property

Syntax

Visual Basic
Public Property Bottom() As Double

Return Type

Double

Remarks

Returns the bottom 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 cmdBottom_click()
    'Returns the bottom line of the rectangle bounding the object
     Text1.text = vObject.Bottom
 End Sub

See Also