Information
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.

IUITechnologyElement::GetBoundingRectangle Method (Int32, Int32, Int32, Int32)

 

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)

void GetBoundingRectangle(
	[OutAttribute] int% left,
	[OutAttribute] int% top,
	[OutAttribute] int% width,
	[OutAttribute] 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.

Return to top
Show: