共用方式為


InkCollectorNewPacketsEventArgs.InkCollectorNewPacketsEventArgs Constructor

InkCollectorNewPacketsEventArgs.InkCollectorNewPacketsEventArgs Constructor

Initializes a new instance of the InkCollectorNewPacketsEventArgs class.

Definition

Visual Basic .NET Public Sub InkCollectorNewPacketsEventArgs( _
ByVal cursor As Cursor, _
ByVal stroke As Stroke, _
ByVal packetCount As Integer, _
ByVal packetData() As Integer _
)
C# public InkCollectorNewPacketsEventArgs(
Cursor cursor,
Stroke stroke,
int packetCount,
int[] packetData
);
Managed C++ public: InkCollectorNewPacketsEventArgs(
Cursor *cursor,
Stroke *stroke,
int *packetCount,
int *packetData __gc[]
);

Parameters

cursor Microsoft.Ink.Cursor. The Cursor object that triggers the NewPackets event.
stroke Microsoft.Ink.Stroke. The inked Stroke object.
packetCount System.Int32. The number of packets collected.
packetData System.Int32[]. The packet data in raw format.

Remarks

cursor of type Cursor is the cursor used to collect the stroke. stroke of type Stroke is the inked stroke. packetCount of type is the number of packets added. packetData is the packet data in raw format.

See Also