Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Stroke.GetPacketDescriptionPropertyMetrics Method

Stroke.GetPacketDescriptionPropertyMetrics Method

Returns the metrics for a given packet description type.

Definition

Visual Basic .NET Public Function GetPacketDescriptionPropertyMetrics( _
ByVal id As Guid _
) As TabletPropertyMetrics
C# public TabletPropertyMetrics GetPacketDescriptionPropertyMetrics(
Guid id
);
Managed C++ public: TabletPropertyMetrics* GetPacketDescriptionPropertyMetrics(
Guid *id
);

Parameters

id System.Guid. The System.Guid Leave Site from the PacketProperty object, which identifies the property for which to obtain metrics.

Return Value

Microsoft.Ink.TabletPropertyMetrics. Returns the metrics for a given packet description type.

Examples

[C#]

This C# example gets the metrics for the NormalPressure packet property from the Stroke object, theStroke.


TabletPropertyMetrics theMetric =
    theStroke.GetPacketDescriptionPropertyMetrics(PacketProperty.NormalPressure);
				

[VB.NET]

This Microsoft® Visual Basic® .NET example gets the metrics for the NormalPressure packet property from the Stroke object, theStroke.


Dim theMetric As TabletPropertyMetrics
theMetric = theStroke.GetPacketDescriptionPropertyMetrics( _
    PacketProperty.NormalPressure)

				

See Also

Show:
© 2015 Microsoft