IInkDisp::DeleteStroke method (msinkaut.h)

Deletes a IInkStrokeDisp object from the InkDisp object.

Syntax

HRESULT DeleteStroke(
  [in] IInkStrokeDisp *Stroke
);

Parameters

[in] Stroke

The stroke to delete from the InkDisp object.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_FAIL
An unspecified error occurred.
E_INK_MISMATCHED_INK_OBJECT
The InkDisp object of the strokes must match the known InkDisp object.
E_INK_EXCEPTION
An exception occurred inside the method.
E_UNEXPECTED
Unexpected parameter or property type.

Remarks

This method deletes only a single stroke. To delete a collection of strokes, call the DeleteStrokes method.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

DeleteStrokes Method

IInkDisp

IInkStrokeDisp Interface

InkDisp Class