Compartir a través de


Ink.DeleteStrokes Method

Ink.DeleteStrokes Method

Deletes a Strokes collection from the Ink object.

Overload List

public void DeleteStrokes()
public void DeleteStrokes(Strokes)

Remarks

The DeleteStrokes method can result in an error if called while the user is actively laying down ink.

Note: A Strokes collection that points to an Ink.Strokes property become invalid when Stroke objects that are contained in the original collection are deleted from the Ink object. For example, if there is a named Strokes collection, theStrokesToo, that is based on an Ink object's Strokes property, theStrokes, and you call the DeleteStrokes method on theStrokes, then theStrokesToo becomes invalid.

To delete only one Stroke object at a time, call the DeleteStroke method.

Examples

See Also