 | TouchLongTouch Method (Element, Int32, Location, 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 static void LongTouch(
Element element,
int pointer,
Location location,
Duration longTouchDuration
)
Public Shared Sub LongTouch (
element As Element,
pointer As Integer,
location As Location,
longTouchDuration As Duration
)
Parameters
- element
- Type: Ranorex.CoreElement
The element to perform the Touch action on. - pointer
- Type: SystemInt32
The pointer identifier to use, with zero being the default pointer. - location
- Type: RanorexLocation
The location to touch at. - longTouchDuration
- Type: RanorexDuration
The timespan between the down and up event of the touch.
See Also