共用方式為


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

Definition

Returns the coordinates of the rectangle that encloses this element.

public:
 void GetBoundingRectangle([Runtime::InteropServices::Out] int % left, [Runtime::InteropServices::Out] int % top, [Runtime::InteropServices::Out] int % width, [Runtime::InteropServices::Out] int % height);
public void GetBoundingRectangle (out int left, out int top, out int width, out int height);
abstract member GetBoundingRectangle : int * int * int * int -> unit
Public Sub GetBoundingRectangle (ByRef left As Integer, ByRef top As Integer, ByRef width As Integer, ByRef height As Integer)

Parameters

left
Int32

(Output) The relative x-coordinate of the rectangle.

top
Int32

(Output) The relative y-coordinate of the rectangle.

width
Int32

(Output) The width of the rectangle.

height
Int32

(Output) The height of the rectangle.

Applies to