Compartilhar via


Stroke.PacketSize Property

Stroke.PacketSize Property

Gets the size, in bytes, of a packet.

Definition

Visual Basic .NET Public ReadOnly Property PacketSize As Integer
C# public int PacketSize { get; }
Managed C++ public: __property int* get_PacketSize();

Property Value

System.Int32. The size, in bytes, of a packet.

This property is read-only. This property has no default value.

Examples

[C#]

This C# example gets the size of a packet associated with a Stroke object, theStroke.

int thePacketSize = theStroke.PacketSize;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example gets the size of a packet associated with a Stroke object, theStroke.

Dim thePacketSize As Integer = theStroke.PacketSize

See Also