Share via


InkCollectorStrokeEventArgs.InkCollectorStrokeEventArgs Constructor

InkCollectorStrokeEventArgs.InkCollectorStrokeEventArgs Constructor

Initializes a new instance of the InkCollectorStrokeEventArgs class.

Definition

Visual Basic .NET Public Sub InkCollectorStrokeEventArgs( _
ByVal cursor As Cursor, _
ByVal stroke As Stroke, _
ByVal cancel As Boolean _
)
C# public InkCollectorStrokeEventArgs(
Cursor cursor,
Stroke stroke,
bool cancel
);
Managed C++ public: InkCollectorStrokeEventArgs(
Cursor *cursor,
Stroke *stroke,
bool *cancel
);

Parameters

cursor Microsoft.Ink.Cursor. The Cursor used to create the Stroke object.
stroke Microsoft.Ink.Stroke. The inked Stroke object that triggers the Stroke event.
cancel System.Boolean. 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 Leave Site 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.

See Also