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