Returns the data for a known packet property from one or more packets in the Stroke object.
Visual Basic .NET Public Function GetPacketValuesByProperty( _
ByVal id As Guid, _
ByVal index As Integer, _
ByVal count As Integer _
) As Integer()
C# public int GetPacketValuesByProperty(
Managed C++ public: int* GetPacketValuesByProperty(
id System.Guid. The Guid identifier from the PacketProperty object that is used to select which packet data is retrieved. index System.Int32. The starting point of the zero-based index to a packet within the Stroke object. count System.Int32. The number of points that make up the stroke data.
A specific packet property may not be available on a particular Stroke object. A Tablet PC may have more than one tablet for user input. The Tablets collection contains a list of all the tablets attached to the Tablet PC. Use the IsPacketPropertySupported method to determine if a particular packet property is supported by a specific Tablet object or by all the available tablets. Also, use the InkCollector.DesiredPacketDescription, InkOverlay.DesiredPacketDescription, or InkPicture.DesiredPacketDescription properties to control which packet properties are collected on new strokes.
[C#]int theButtonPressureData = theStroke.GetPacketValuesByProperty(PacketProperty.ButtonPressure, 0, 1);
[VB.NET]Dim theButtonPressureData() As Integer = _ theStroke.GetPacketValuesByProperty(PacketProperty.ButtonPressure, 0, 1)