Share via


PenDevice.GetFromPointerId(UInt32) Method

Definition

Obtains a PenDevice object associated with the specified pointer, if available.

public:
 static PenDevice ^ GetFromPointerId(unsigned int pointerId);
 static PenDevice GetFromPointerId(uint32_t const& pointerId);
public static PenDevice GetFromPointerId(uint pointerId);
function getFromPointerId(pointerId)
Public Shared Function GetFromPointerId (pointerId As UInteger) As PenDevice

Parameters

pointerId
UInt32

unsigned int

uint32_t

The unique pointer identifier associated with the pointer event.

Returns

A PenDevice object.

Returns null if the pointer input does not correspond to the pen input, or if the pen does not support a unique ID.

Applies to