活动
最新
False
横幅背景图像
用户界面自动化活动
上次更新日期 2024年4月26日

移动设备屏幕矩形类

使用此类指定用于截取屏幕截图的设备屏幕矩形区域。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

public class MobileScreenRectpublic class MobileScreenRect
MobileScreenRect类型公开以下成员。

构造函数

public MobileScreenRect()public MobileScreenRect()
MobileScreenRect
初始化“ MobileScreenRect ”类的新实例。

移动屏幕矩形属性

MobileScreenRect类配置以下属性。

坐标类型属性

指定坐标类型。 从以下选项中进行选择:
  • PhysicalPixels
  • DeviceIndependentPixels

语法

属性值CoordinatesTypeEnum
public CoordinatesTypeEnum CoordinatesType { get; set; }public CoordinatesTypeEnum CoordinatesType { get; set; }

屏幕矩形属性

指定设备屏幕上要截取屏幕截图的矩形区域。

语法

属性值矩形

public Rect screenRect { get; set; }public Rect screenRect { get; set; }
  • 定义
  • 语法
  • 构造函数
  • 移动屏幕矩形属性
  • 坐标类型属性
  • 屏幕矩形属性

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.