PacketProperty.NormalPressure Field
The Guid for the PacketProperty object that represents pressure of the pen tip perpendicular to the tablet surface.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Shared ReadOnly NormalPressure As Guid
'Usage
Dim value As Guid
value = PacketProperty.NormalPressure
public static readonly Guid NormalPressure
public:
static initonly Guid NormalPressure
public static final var NormalPressure : Guid
Field Value
Type: System.Guid
The Guid that identifies the packet property for pressure of the pen tip perpendicular to the tablet surface.
Remarks
The greater the pressure on the pen tip, the more ink that is drawn.
The NormalPressure field represents pressure perpendicular to the plane of the tablet surface; the TangentPressure field represents pressure along the plane of the tablet surface.
Examples
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
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;
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PacketProperty.TangentPressure
InkCollector.DesiredPacketDescription