PickedRectWidth Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Returns the width of the selected rectangular area.

Declaration

componentPropObj.PickedRectWidth
Read-Only Property Integer
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following components:

TRectObjectPicker

Description

The TRectObjectPicker component allows you to select a rectangular area on the screen. Use the PickedRectWidth property to get the width of the selected rectangle.

Property Value

The width (in pixels) of the rectangular area selected via the TRectObjectPicker component.

Remarks

To obtain a reference to the selected object, pass the resultant name to the eval (JavaScript, JScript, Python, C#Script, C++Script), Eval (VBScript) or Evaluate (DelphiScript) function. These functions are provided by the scripting engines. For detailed information about getting an object reference from a name, see the TRectObjectPicker description.

See Also

TRectObjectPicker Object
PickedRectHeight Property
PickedRectTop Property
PickedRectBottom Property
PickedRectLeft Property
PickedRectRight Property

Highlight search results