Compartir a través de


Stroke Event [InkEdit Control]

Stroke Event [InkEdit Control]

Occurs when the user draws a new IInkStrokeDisp object on any IInkTablet object.

Declaration

[C++]

void Stroke(
    [in] IInkCursor* Cursor,
    [in] IInkStrokeDisp* Stroke,
    [in, out] VARIANT_BOOL* Cancel
);

Parameters

Cursor

[in] The IInkCursor object .

Stroke

[in] The collected IInkStrokeDisp object.

Cancel

[in, out]. A Boolean value that indicates whether the event should be canceled. If True, the collection of the stroke is canceled.

Value Description
True Cancel collection of the IInkStrokeDisp object.
False Collect the IInkStrokeDisp object and continue with the Stroke event.

Remarks

This event method is defined in the _IInkEditEvents interface. The _IInkEditEvents interface implements the IDispatch Leave Site interface with an identifier of DISPID_IeeStroke.

Applies To