 | MouseMoveTo Method (Point, Duration) |
Moves the mouse to the specified point.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void MoveTo(
Point point,
Duration moveTime
)
Public Shared Sub MoveTo (
point As Point,
moveTime As Duration
)
Parameters
- point
- Type: System.DrawingPoint
The point in screen coordinates (pixels). - moveTime
- Type: RanorexDuration
The time after which the mouse should be at the specified position.
Exceptions| Exception | Condition |
|---|
| RanorexException | If the specified point is outside of
the visible desktop. |
See Also