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

用户界面自动化活动

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

设置剪切区域

UiPath.Core.Activities.SetClippingRegion

设置用户界面元素的剪切区域。

属性

输入
  • “方向”- 剪切区域的扩展方向。可用的选项如下:左、上、右、下、矩形和平移。
  • “大小”- 朝每个方向移动的偏移量。以下方向的像素偏移量:左、上、右、下。支持正数和负数。
  • “区域”- 用于从已有区域开始剪切区域。该字段仅支持“UiPath.Core.Region”变量。
  • “元素”- 使用另一个活动返回的元素对象。该属性不能与“选取器”属性一起使用。该字段仅支持用户界面元素变量。
常见
  • “显示名称”- 活动的显示名称。

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

    备注:

    如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值为“True”,则系统在执行项目时不会捕获任何错误。

其他
  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

使用“设置剪切区域”活动的示例

您可以在此查看包含多个活动的示例,了解如何使用设置剪切区域活动。

  • 属性
  • 使用“设置剪切区域”活动的示例

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2026 UiPath。保留所有权利。