Compartilhar via


Stroke.PacketCount Property

Stroke.PacketCount Property

Gets the number of packets received for a Stroke object.

Definition

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

Property Value

System.Int32. The number of packets received for a Stroke object.

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

Examples

[C#]

This C# example returns the number of packets in the Stroke object, theStroke.

int thePacketCount = theStroke.PacketCount;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example returns the number of packets in the Stroke, theStroke.

Dim thePacketCount As Integer = theStroke.PacketCount

See Also