Stroke.PacketCount Property
Gets the number of packet received for a Stroke object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property PacketCount As Integer
'Usage
Dim instance As Stroke
Dim value As Integer
value = instance.PacketCount
public int PacketCount { get; }
public:
property int PacketCount {
int get ();
}
public function get PacketCount () : int
Property Value
Type: System.Int32
The number of packets received for a Stroke object.
Examples
This C# example returns the number of packets in the Stroke object, theStroke.
int thePacketCount = theStroke.PacketCount;
This Microsoft Visual Basic .NET example returns the number of packets in the Stroke, theStroke.
Dim thePacketCount As Integer = theStroke.PacketCount
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