Sdílet prostřednictvím


InkCollectorNewPacketsEventArgs Constructor

Initializes a new instance of the InkCollectorNewPacketsEventArgs class.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Sub New ( _
    cursor As Cursor, _
    stroke As Stroke, _
    packetCount As Integer, _
    packetData As Integer() _
)
'Usage
Dim cursor As Cursor 
Dim stroke As Stroke 
Dim packetCount As Integer 
Dim packetData As Integer()

Dim instance As New InkCollectorNewPacketsEventArgs(cursor, _
    stroke, packetCount, packetData)
public InkCollectorNewPacketsEventArgs(
    Cursor cursor,
    Stroke stroke,
    int packetCount,
    int[] packetData
)
public:
InkCollectorNewPacketsEventArgs(
    Cursor^ cursor, 
    Stroke^ stroke, 
    int packetCount, 
    array<int>^ packetData
)
public function InkCollectorNewPacketsEventArgs(
    cursor : Cursor, 
    stroke : Stroke, 
    packetCount : int, 
    packetData : int[]
)

Parameters

  • packetCount
    Type: System.Int32

    The number of packet collected.

  • packetData
    Type: array<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.

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

See Also

Reference

InkCollectorNewPacketsEventArgs Class

InkCollectorNewPacketsEventArgs Members

Microsoft.Ink Namespace

InkCollector.NewPackets