PointerPoint.GetIntermediatePoints(UInt32) | getIntermediatePoints(UInt32) method

Applies to Windows and Windows Phone

Retrieves position and state information for the specified pointer, from the last pointer event up to and including the current pointer event.

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 using C++, C#, or Visual Basic, or Windows Store apps 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

Public Shared Function GetIntermediatePoints(
  pointerId As UInteger 
) As IList(Of PointerPoint)

Parameters

pointerId

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The ID of the pointer.

Return value

Type: IVector<PointerPoint> [JavaScript/C++] | System.Collections.Generic.IList<PointerPoint> [.NET]

The transformed pointer properties (current and historic).

Remarks

GetIntermediatePoints is a static method.

The most recent pointer information retrieved by this method is equivalent to that retrieved by the GetCurrentPoint method.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

PointerPoint
GetIntermediatePoints(UInt32, IPointerPointTransform)

 

 

Show:
© 2014 Microsoft