Skip to content

Latest commit

 

History

History
174 lines (142 loc) · 4.68 KB

nf-msinkaut-iinkdisp-deletestrokes.md

File metadata and controls

174 lines (142 loc) · 4.68 KB
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.
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
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
IInkDisp::DeleteStrokes
msinkaut/IInkDisp::DeleteStrokes
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkDisp.DeleteStrokes

IInkDisp::DeleteStrokes

-description

Deletes an InkStrokes collection from the Strokes collection of the InkDisp object.

-parameters

-param Strokes [in, optional]

Optional. Specifies the collection of strokes to delete from the InkDisp object. The default value is NULL.

-returns

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 memory that is used to perform the operation.
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 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.
 
DeleteStrokes can result in an error if called while the user is actively laying down ink.

-see-also

DeleteStroke Method

IInkDisp

InkDisp Class

InkStrokes Collection