Drags the mouse from one point to another.
Syntax
pd.DragMouse (theElement, x2, y2)
pd.DragMouse (x1, y1, x2, y2)
The DragMouse method syntax has the following parts:
Part |
Description |
theElement |
An object of type PDElement. The drag operation begins at the point with coordinates (theElement.originX, theElement.originY). |
x1, y1 |
Coordinates of the location where the drag operation begins (the left mouse button is pressed). x1 is its distance, in inches, from the left margin. y1 is its distance, in inches, from the top margin. |
x2, y2 |
Coordinates of the location where the drag operation ends (the left mouse button is released). x2 is its distance, in inches, from the left margin. y2 is its distance, in inches, from the top margin. |