PenDevice PenDevice PenDevice PenDevice PenDevice Class

Definition

Supports the ability to identify and track connected pen devices.

public : sealed class PenDevice
struct winrt::Windows::Devices::Input::PenDevice
public sealed class PenDevice
Public NotInheritable Class PenDevice
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)

Properties

PenId PenId PenId PenId PenId

Gets the unique identifier of the digital pen represented by the PenDevice object.

Methods

GetFromPointerId(UInt32) GetFromPointerId(UInt32) GetFromPointerId(UInt32) GetFromPointerId(UInt32) GetFromPointerId(UInt32)

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