AccessibleObject.IAccessible.accLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기