DMBrowser.MouseMoveTo Method
Definition
Supports RIA monitoring. Moves the mouse cursor to the specified position.
Overloads
MouseMoveTo (x, y)
Move the mouse cursor to the specified (X and Y axis) screen coordinates relative to the current cursor position.
public virtual void MouseMoveTo(int x, int y)
Parameters
x int y intExamples
tab0.MouseMoveTo (884, 358);
MouseMoveTo (image, threshold, imageSearchTimeout)
Place cursor in the center of the picture (image, page fragment captured during recording).
public virtual void MouseMoveTo(Bitmap image, double threshold, Timespan imageSearchTimeout)
Parameters
image int threshold double imageSearchTimeout TimeSpanThe threshold parameter reflects a degree of matching that is sufficient for the unique identification of a required image fragment on the visible part of the page. Default value is 0.95. When the algorithm detects more than one match with the default threshold value, either a new fragment must be selected or the threshold level needs to be increased.
Examples
tab0.MouseMoveTo (PictureList [0]);
MouseMoveTo (image, x, y, threshold, imageSearchTimeout)
Place cursor to the position with the specified coordinates relative to the center of the picture (image, page fragment captured during recording).
public virtual void MouseMoveTo(Bitmap image, int x, int y, double threshold, Timespan imageSearchTimeou)
Parameters
image int x int y int threshold double imageSearchTimeout TimeSpanThe threshold parameter reflects a degree of matching that is sufficient for the unique identification of a required image fragment on the visible part of the page. Default value is 0.95. When the algorithm detects more than one match with the default threshold value, either a new fragment must be selected or the threshold level needs to be increased.
Examples
tab0.MouseMoveTo (PictureList [1], 884, 358, 0.97);