InkCollectorStrokeEventArgs.InkCollectorStrokeEventArgs Constructor
Initializes a new instance of the InkCollectorStrokeEventArgs class.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Sub New ( _
cursor As Cursor, _
stroke As Stroke, _
cancel As Boolean _
)
'Usage
Dim cursor As Cursor
Dim stroke As Stroke
Dim cancel As Boolean
Dim instance As New InkCollectorStrokeEventArgs(cursor, stroke, cancel)
public InkCollectorStrokeEventArgs (
Cursor cursor,
Stroke stroke,
bool cancel
)
public:
InkCollectorStrokeEventArgs (
Cursor^ cursor,
Stroke^ stroke,
bool cancel
)
public InkCollectorStrokeEventArgs (
Cursor cursor,
Stroke stroke,
boolean cancel
)
public function InkCollectorStrokeEventArgs (
cursor : Cursor,
stroke : Stroke,
cancel : boolean
)
Not applicable.
Parameters
- stroke
The inked Stroke object that triggers the Stroke event.
- cancel
Set to true if the Stroke object should be stored after returning from the event handler; false if the Stroke object is deleted after exiting the event handler.
Remarks
cursor of type Cursor is the cursor used to collect the stroke. stroke of type Stroke is the inked stroke. cancel of type Boolean is a flag which determines if the stroke should be stored after returning from the event handler. true by default. If changed to false, then the stroke is deleted after exiting the event handler.
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
InkCollectorStrokeEventArgs Class
InkCollectorStrokeEventArgs Members
Microsoft.Ink Namespace
InkCollector.Stroke