Software Developer's Kit - ChemDraw

Send comments on this topic
Height Property
See Also 

Description

Member of ChemDraw Control.Table.

Returns the height of the rectangle bounding this Table.

Property type

Read-only property

Syntax

Visual Basic
Public Property Height() As Double

Return Type

Double

Remarks

Returns height 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 cmdHeight_click()
     'Returns the height of the rectangle bounding the object
     Text1.text = vObject.Height
 End Sub

See Also