Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetBoundingRectangle Method

UITechnologyElement.GetBoundingRectangle Method

Returns the coordinates of the rectangle that encloses this element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract void GetBoundingRectangle(
	out int left,
	out int top,
	out int width,
	out int height
)

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.

Implements

IUITechnologyElement.GetBoundingRectangle(Int32, Int32, Int32, Int32)

Community Additions

ADD
Show:
© 2015 Microsoft