PacketProperty Class
Defines values that specify the packet properties.
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Globally unique identifiers (Guid) are used to identify packet properties, and these are available as read-only fields of the PacketProperty object. Use these Guid to access the available properties of a Tablet or a collection of Tablets.
Note: |
|---|
All packet values coming from the tablet hardware are 32-bit size integers. |
In this example, a TabletPropertyMetrics object is created for the NormalPressure packet property and used to instantiate a TabletPropertyDescription object.
Dim defTablet As Tablet = New Tablets().DefaultTablet Dim Metrics As TabletPropertyMetrics = defTablet.GetPropertyMetrics(PacketProperty.NormalPressure) Dim tabletPropDesc As TabletPropertyDescription = New TabletPropertyDescription(PacketProperty.NormalPressure, Metrics) ' metrics now accessible via the TabletPropertyMetrics property Dim min As Integer = tabletPropDesc.TabletPropertyMetrics.Minimum
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: