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