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.

UITechnologyElementProxy::GetBoundingRectangle Method (Int32, Int32, Int32, Int32)

 

Gets the coordinates of the rectangle that completely encloses this element.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual void GetBoundingRectangle(
	[OutAttribute] int% left,
	[OutAttribute] int% top,
	[OutAttribute] int% width,
	[OutAttribute] int% height
) override

Parameters

left
Type: System::Int32

top
Type: System::Int32

width
Type: System::Int32

height
Type: System::Int32

This is in screen coordinates and never cached.

Return to top
Show: