UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

用户界面自动化活动

上次更新日期 2026年5月14日

移动设备屏幕矩形类

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

定义

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

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

语法

public class MobileScreenRect
public 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; }
  • 定义
  • 语法
  • 构造函数
  • 移动屏幕矩形属性
  • 坐标类型属性
  • 屏幕矩形属性

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新