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).

C#
void IAccessible.accLocation(out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object childID);

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9