activities
latest
false
UI Automation Activities
Last updated Oct 28, 2024

MobileScreenRect Class

Use this class to specify the rectangular area of the device screen, for taking a screenshot.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Syntax

public class MobileScreenRectpublic class MobileScreenRect
The MobileScreenRect type exposes the following members.

Constructors

public MobileScreenRect()public MobileScreenRect()
MobileScreenRect
Initializes a new instance of the MobileScreenRect class.

MobileScreenRect properties

Configure the following properties for the MobileScreenRect class.

CoordinatesType property

Specifies the coordinates type. Choose from the following options:
  • PhysicalPixels
  • DeviceIndependentPixels

Syntax

Property Value: CoordinatesTypeEnum
public CoordinatesTypeEnum CoordinatesType { get; set; }public CoordinatesTypeEnum CoordinatesType { get; set; }

screenRect property

Specifies the rectangular area of the device screen that you want to take a screenshot of.

Syntax

Property Value: Rect

public Rect screenRect { get; set; }public Rect screenRect { get; set; }
  • Definition
  • Syntax
  • Constructors
  • MobileScreenRect properties
  • CoordinatesType property
  • screenRect property

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.