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 |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
An unspecified error occurred. |
|
The InkDisp object of the strokes must match the known InkDisp object. |
|
An exception occurred inside the method. |
|
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 |