UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:msinkaut.IInkDisp.DeleteStrokes |
IInkDisp::DeleteStrokes (msinkaut.h) |
Deletes an InkStrokes collection from the Strokes collection of the InkDisp object. |
|
tablet\inkdisp_deletestrokes.htm |
tablet |
cbc11006-a434-46f8-a78c-3b67e35ed32a |
12/05/2018 |
DeleteStrokes, DeleteStrokes method [Tablet PC], DeleteStrokes method [Tablet PC],IInkDisp interface, IInkDisp interface [Tablet PC],DeleteStrokes method, IInkDisp.DeleteStrokes, IInkDisp::DeleteStrokes, cbc11006-a434-46f8-a78c-3b67e35ed32a, msinkaut/IInkDisp::DeleteStrokes, tablet.inkdisp_deletestrokes |
msinkaut.h |
Windows |
Windows XP Tablet PC Edition [desktop apps only] |
None supported |
InkObj.dll |
Windows |
19H1 |
|
|
|
|
|
|
Deletes an InkStrokes collection from the Strokes collection of the InkDisp object.
Optional. Specifies the collection of strokes to delete from the InkDisp object. The default value is NULL.
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
Cannot allocate memory that is used to perform the operation. |
|
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. |
This method deletes all of the strokes in the InkDisp object if no InkStrokes collection is passed in. To delete only one stroke at a time, call the DeleteStroke method.
The InkDisp object renumbers the indices of the remaining strokes in the InkDisp object if the strokes that were deleted do not fall at the end of the InkDisp object's collection of strokes.
Note The contents of a InkStrokes collection become invalid when strokes that are contained in the collection are deleted from the InkDisp object.