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 ();
}
/** @property */
public int get_PacketCount ()
public function get PacketCount () : int
Not applicable.
Property Value
The number of packets received for a Stroke object.
Example
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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
Stroke Class
Stroke Members
Microsoft.Ink Namespace
Microsoft.Ink.Stroke.GetPacketData