activities
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
UI Automation のアクティビティ
Last updated 2024年8月13日

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
画面の向きを設定するコマンドを指定します。次のオプションが利用できます。
  • 切り替え
オプション MobileOptions.SetDeviceOrientationOptions
SetDeviceOrientation アクションの MobileOptions.SetDeviceOrientationOptions を指定します。既定値は null です。

戻り値

ScreenOrientation

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

このページは役に立ちましたか?

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