The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyElement::GetBoundingRectangle Method (Int32, Int32, Int32, Int32)
Returns the coordinates of the rectangle that encloses this element.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: virtual void GetBoundingRectangle( [OutAttribute] int% left, [OutAttribute] int% top, [OutAttribute] int% width, [OutAttribute] int% height ) abstract
Parameters
- left
-
Type:
System::Int32
(Output) The relative x-coordinate of the rectangle.
- top
-
Type:
System::Int32
(Output) The relative y-coordinate of the rectangle.
- width
-
Type:
System::Int32
(Output) The width of the rectangle.
- height
-
Type:
System::Int32
(Output) The height of the rectangle.
This is in screen coordinates and never cached.
Show: