 | AdapterLongTouch Method (Int32, Int32, Duration) |
Performs a long touch action on the adapter with the specified location.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void LongTouch(
int x,
int y,
Duration touchDuration
)
Public Sub LongTouch (
x As Integer,
y As Integer,
touchDuration As Duration
)
Parameters
- x
- Type: SystemInt32
X-Coordinate to click within the element rectangle in pixels. If the value is greater than the width of the
element the touch will be performed outside the element.
- y
- Type: SystemInt32
Y-Coordinate to click within the element rectangle in pixels. If the value is greater than the height of the
element the touch will be performed outside the element.
- touchDuration
- Type: RanorexDuration
The duration between the down and up phase of the touch.
See Also