UiPath Documentation
activities
latest
false

Activités UIAutomation

Dernière mise à jour 8 mai 2026

PositionalSwipe

Balaie vers un emplacement prédéfini de l'écran avec des points de début et de fin.

Définition

Espace de noms: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

PositionalSwipe(Point, Point, CoordinatesTypeEnum, Float, MobileOptions.PositionalSwipeOptions)

PositionalSwipe(
	    Point startSwipePoint,
	    Point endSwipePoint,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    float waitTime = 4f,
	    MobileOptions. PositionalSwipeOptions options = null
)
PositionalSwipe(
	    Point startSwipePoint,
	    Point endSwipePoint,
	    CoordinatesTypeEnum coordinatesType = CoordinatesTypeEnum.DeviceIndependentPixels,
	    float waitTime = 4f,
	    MobileOptions. PositionalSwipeOptions options = null
)

startSwipePoint Point : définissez les points de départ de votre balayage de position sur l'écran de l'appareil.

endSwipePoint Point : définissez les points de terminaison de votre balayage positionnel sur l'écran de l'appareil.

coordinatesType CoordinatesTypeEnum (Facultatif) : spécifie le type de coordonnées de startSwipePoint et endSwipePoint. La valeur par défaut est CoordinatesTypeEnum.DeviceIndependentPixels. Les choix disponibles sont les suivants :

* `CoordinatesTypeEnum.DeviceIndependentPixels` - Use
  this option for workflows using a single device. Since the
  indication corresponds to actual pixels on the screen, it's
  different for each device.
* `CoordinatesTypeEnum.PhysicalPixels` - Use this
  option to run workflows on devices with similar density screens.
  Device-independent pixels means that you are indicating a target
  based on the pixel density of the selected screen area.
* `CoordinatesTypeEnum.DeviceIndependentPixels` - Use
  this option for workflows using a single device. Since the
  indication corresponds to actual pixels on the screen, it's
  different for each device.
* `CoordinatesTypeEnum.PhysicalPixels` - Use this
  option to run workflows on devices with similar density screens.
  Device-independent pixels means that you are indicating a target
  based on the pixel density of the selected screen area.

waitTime Flottant (Facultatif) : spécifie le temps passé à attendre pendant les transitions entre les points.

options MobileOptions.PositionalSwipeOptions (Facultatif) : spécifie le MobileOptions.DrawPatternOptions pour l'action DrawPattern . La valeur par défaut est null.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour