This documentation is archived and is not being maintained.

PacketProperty Class

Defines values that specify the packet properties.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

public sealed class PacketProperty

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.

NoteNote:

   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.

Tablet defTablet = new Tablets().DefaultTablet;
TabletPropertyMetrics Metrics = defTablet.GetPropertyMetrics(PacketProperty.NormalPressure);
TabletPropertyDescription tabletPropDesc = new TabletPropertyDescription(PacketProperty.NormalPressure, Metrics);
// metrics now accessible via the TabletPropertyMetrics property 
int min = tabletPropDesc.TabletPropertyMetrics.Minimum;

System.Object
  Microsoft.Ink.PacketProperty

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0
Show: