AdapterSwipe Method (Location, GestureDirection, Distance, Duration, Int32)
Performs a 'Swipe' operations that starts at the point of the element specified by location.
Ranorex.Core (in Ranorex.Core.dll) Version: 10.2.5+git.08880485
public void Swipe(
Public Sub Swipe (
startLocation As Location,
direction As GestureDirection,
distance As Distance,
swipeDuration As Duration,
steps As Integer
- Type: RanorexLocation
The location where the swipe should start.
- Type: Ranorex.Core.Recorder.TouchGestureDirection
The direction of the swipe.
- Type: Ranorex.CoreDistance
The distance to swipe. For custom rotations the values is not pixel exact and will likely
get rounded. The rounding is dependent of the technology the swipe is executed on.
- Type: RanorexDuration
The duration in that the swipe should get performed.
- Type: SystemInt32
How many steps the swipe shall have. A step is one distinct move event on the target technology. The default is '0', this
means the target technology determines how many steps are made by applying custom heuristics. A step count of one will
produce the event sequence 1x pointer down, 1x pointer move and 1x pointer up. A step count of two will produce the
event sequence 1x pointer down, 2x pointer move and 1x pointer up.
Exceptions See Also