Udostępnij za pośrednictwem


Metoda UITechnologyElementProxy.GetBoundingRectangle —

Zwraca współrzędne prostokąt, który całkowicie wypełnia tego elementu.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
Public Overrides Sub GetBoundingRectangle ( _
    <OutAttribute> ByRef left As Integer, _
    <OutAttribute> ByRef top As Integer, _
    <OutAttribute> ByRef width As Integer, _
    <OutAttribute> ByRef height As Integer _
)
public override void GetBoundingRectangle(
    out int left,
    out int top,
    out int width,
    out int height
)
public:
virtual void GetBoundingRectangle(
    [OutAttribute] int% left, 
    [OutAttribute] int% top, 
    [OutAttribute] int% width, 
    [OutAttribute] int% height
) override
abstract GetBoundingRectangle : 
        left:int byref * 
        top:int byref * 
        width:int byref * 
        height:int byref -> unit 
override GetBoundingRectangle : 
        left:int byref * 
        top:int byref * 
        width:int byref * 
        height:int byref -> unit 
public override function GetBoundingRectangle(
    left : int, 
    top : int, 
    width : int, 
    height : int
)

Parametry

Implementuje

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

Uwagi

Jest we współrzędnych ekranu i nigdy nie są buforowane.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyElementProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting