 | MouseClick Method (Point, MouseButtons, Int32, Duration) |
Clicks at point with the specified mouse buttons the specified number of times.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Click(
Point point,
MouseButtons buttons,
int times,
Duration moveTime
)
Public Shared Sub Click (
point As Point,
buttons As MouseButtons,
times As Integer,
moveTime As Duration
)
Parameters
- point
- Type: System.DrawingPoint
The point to click on in screen coordinates (pixels). - buttons
- Type: System.Windows.FormsMouseButtons
A bit-wise combination of MouseButtons values
that specify the mouse buttons for this action. - times
- Type: SystemInt32
The number of times to click. - moveTime
- Type: RanorexDuration
The time after which the mouse should be at the specified position.
See Also