アクティビティ
最新
バナーの背景画像
UI Automation のアクティビティ
最終更新日 2024年4月26日

SetDeviceOrientation

接続したデバイスの向きを変更して、向きを取得します。

定義

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: 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
画面の向きを設定するコマンドを指定します。次のオプションが利用できます。
  • Portrait
  • Landscape
  • Toggle
options MobileOptions.SetDeviceOrientationOptions
SetDeviceOrientation アクションの MobileOptions.SetDeviceOrientationOptions を指定します。既定値は null です。

戻り値

ScreenOrientation

デバイスの新しい向きを返します。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.