Redigera

Dela via


AccessibleObject.IAccessible.accLocation Method

Definition

Gets the object's current screen location. For a description of this member, see accLocation(Int32, Int32, Int32, Int32, Object).

 virtual void Accessibility.IAccessible.accLocation([Runtime::InteropServices::Out] int % pxLeft, [Runtime::InteropServices::Out] int % pyTop, [Runtime::InteropServices::Out] int % pcxWidth, [Runtime::InteropServices::Out] int % pcyHeight, System::Object ^ childID) = Accessibility::IAccessible::accLocation;
void IAccessible.accLocation (out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object childID);
abstract member Accessibility.IAccessible.accLocation : int * int * int * int * obj -> unit
override this.Accessibility.IAccessible.accLocation : int * int * int * int * obj -> unit
Sub accLocation (ByRef pxLeft As Integer, ByRef pyTop As Integer, ByRef pcxWidth As Integer, ByRef pcyHeight As Integer, childID As Object) Implements IAccessible.accLocation

Parameters

pxLeft
Int32

When this method returns, contains the x-coordinate of the object's left edge. This parameter is passed uninitialized.

pyTop
Int32

When this method returns, contains the y-coordinate of the object's top edge. This parameter is passed uninitialized.

pcxWidth
Int32

When this method returns, contains the width of the object. This parameter is passed uninitialized.

pcyHeight
Int32

When this method returns, contains the height of the object. This parameter is passed uninitialized.

childID
Object

The ID number of the accessible object. This parameter is 0 to get the location of the object, or a child ID to get the location of one of the object's child objects.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IAccessible interface.

Applies to