Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Sub GetBoundingRectangle ( _
<OutAttribute> ByRef left As Integer, _
<OutAttribute> ByRef top As Integer, _
<OutAttribute> ByRef width As Integer, _
<OutAttribute> ByRef height As Integer _
)
void GetBoundingRectangle(
out int left,
out int top,
out int width,
out int height
)
void GetBoundingRectangle(
[OutAttribute] int% left,
[OutAttribute] int% top,
[OutAttribute] int% width,
[OutAttribute] int% height
)
abstract GetBoundingRectangle :
left:int byref *
top:int byref *
width:int byref *
height:int byref -> unit
function GetBoundingRectangle(
left : int,
top : int,
width : int,
height : int
)
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.