IInkStrokes::RemoveStrokes method (msinkaut.h)

Removes strokes from the collection.

Syntax

HRESULT RemoveStrokes(
  [in] IInkStrokes *InkStrokes
);

Parameters

[in] InkStrokes

The strokes to remove from the collection.

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_OUTOFMEMORY
Cannot allocate Stroke handler helper object.
E_INK_EXCEPTION
An exception occurred inside the method.
E_INK_INCOMPATIBLE_OBJECT
IInkStrokes* does not point to a valid InkDisp object.
E_INK_MISMATCHED_INK_OBJECT
The InkDisp object of the InkStrokes collection and the specified InkStrokes don't match.
E_UNEXPECTED
Unexpected parameter or property type.

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

IInkStrokes

InkStrokes Collection

Remove Method [InkStrokes Collection]