Compartir a través de


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 ();
}
/** @property */
public int get_PacketSize ()
public function get PacketSize () : int
Not applicable.

Property Value

The size, in bytes, of a packet.

Example

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 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