 | MouseClick Method (MouseButtons, Int32, Duration) |
Clicks 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(
MouseButtons buttons,
int times,
Duration clickTime
)
Public Shared Sub Click (
buttons As MouseButtons,
times As Integer,
clickTime As Duration
)
Parameters
- 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. - clickTime
- Type: RanorexDuration
The time of a mouse click, i.e. the time elapsed between
the mouse button being pressed (Down event) and released again
(Up event).
See Also