Retrieves the transformed information for the specified pointer.
In most cases, we recommend that you obtain pointer info through the pointer event handlers of your chosen Windows 8 language framework (Windows Store apps using JavaScript, Windows Store apps built for Windows using C++, C#, or Visual Basic, or Windows Store apps built for Windows using DirectX with C++).
If the event argument doesn't expose the pointer details required by your app, you can get access to extended pointer data from the event argument through the getCurrentPoint and getIntermediatePoints methods or currentPoint and intermediatePoints properties. We recommend using the getCurrentPoint and getIntermediatePoints methods as you can specify the context of the pointer data.
The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the context of the app.
Syntax
var pointerPoint = Windows.UI.Input.PointerPoint.getCurrentPoint(pointerId, transform);
Parameters
- pointerId
-
Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]
The ID of the pointer.
- transform
-
Type: IPointerPointTransform
The transform to apply to the pointer.
Return value
Type: PointerPoint
The pointer property values.
Remarks
GetCurrentPoint is a static method.
This method is useful for getting pointer information relative to a specific element.
Windows Phone 8
This API is not implemented and will throw an exception if called.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013