Compartir a través de


InkCollectorCursorInRangeEventArgs.InkCollectorCursorInRangeEventArgs Constructor

Initializes a new instance of the InkCollectorCursorInRangeEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    cursor As Cursor, _
    newCursor As Boolean, _
    buttonStates As CursorButtonState() _
)
'Usage
Dim cursor As Cursor
Dim newCursor As Boolean
Dim buttonStates As CursorButtonState()

Dim instance As New InkCollectorCursorInRangeEventArgs(cursor, newCursor, buttonStates)
public InkCollectorCursorInRangeEventArgs (
    Cursor cursor,
    bool newCursor,
    CursorButtonState[] buttonStates
)
public:
InkCollectorCursorInRangeEventArgs (
    Cursor^ cursor, 
    bool newCursor, 
    array<CursorButtonState>^ buttonStates
)
public InkCollectorCursorInRangeEventArgs (
    Cursor cursor, 
    boolean newCursor, 
    CursorButtonState[] buttonStates
)
public function InkCollectorCursorInRangeEventArgs (
    cursor : Cursor, 
    newCursor : boolean, 
    buttonStates : CursorButtonState[]
)
Not applicable.

Parameters

  • newCursor
    Set to true if this is the first time this InkCollector object has seen this Cursor object; otherwise false.
  • buttonStates
    The values of the State properties for the CursorButtons collection associated with the Cursor object, taken at the time the CursorInRange event occurs.

Remarks

cursor of type Cursor is the cursor used to collect the stroke. newCursor of type Boolean specifies if this is the first time this InkCollector has seen this cursor. buttonStates of type CursorButtonState specifies the state of the cursor's buttons.

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

InkCollectorCursorInRangeEventArgs Class
InkCollectorCursorInRangeEventArgs Members
Microsoft.Ink Namespace
InkCollector.CursorInRange