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 function InkCollectorStrokeEventArgs(
cursor : Cursor,
stroke : Stroke,
cancel : boolean
)
Parameters
cursor
Type: Microsoft.Ink.Cursor
stroke
Type: Microsoft.Ink.Stroke
cancel
Type: System.BooleanSet 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 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
InkCollectorStrokeEventArgs Class