Software Developer's Kit - ChemDraw

Send comments on this topic
Move Method
See Also 
dx
Indicates the delta x that the object will be moved.
dy

Indicates the delta y that the object will be moved.

Description

Member of ChemDrawControl.Objects.

Offset the objects by the specified amount.

Syntax

Visual Basic
Public Sub Move( _
   Optional ByVal dx As Double = 0, _
   Optional ByVal dy As Double = 0 _
) 

Parameters

dx
Indicates the delta x that the object will be moved.
dy

Indicates the delta y that the object will be moved.

Remarks

Moves the objects by the specified amount expressed in points.

Example

'Moves 
 Private Sub Command1_Click()
     Dim myOBjs As ChemDrawCtl.Objects 
     Set myObjs = ChemDrawCtl.Selection.Objects
     myObjs.Move 200, 400
 End Sub

See Also