UiPath Documentation
activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

UIAutomation-Aktivitäten

Letzte Aktualisierung 7. Apr. 2026

SetDeviceOrientation

Ändert die Ausrichtung des angeschlossenen Geräts und ruft sie anschließend wieder ab.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

SetDeviceOrientation(DeviceOrientationEnumC, MobileOptions.SetDeviceOrientationOptions)

ScreenOrientation SetDeviceOrientation(
	    DeviceOrientationEnumC screenOrientationCommand,
	    MobileOptions. SetDeviceOrientationOptions options = null
)
ScreenOrientation SetDeviceOrientation(
	    DeviceOrientationEnumC screenOrientationCommand,
	    MobileOptions. SetDeviceOrientationOptions options = null
)

screenOrientationCommand DeviceOrientationEnumC: Gibt den Befehl zum Festlegen der Bildschirmausrichtung an. Die folgenden Optionen sind verfügbar:

* `Portrait`
* `Landscape`
* `Toggle`
* `Portrait`
* `Landscape`
* `Toggle`

options MobileOptions.SetDeviceOrientationOptions : Gibt MobileOptions.SetDeviceOrientationOptions für die SetDeviceOrientation -Aktion an. Der Standardwert ist null.

Rückgabewert

ScreenOrientation

Gibt die neue Ausrichtung des Geräts zurück.

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben