Strokes Class
Contains the collection of Stroke objects.
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
A Strokes collection is a subset of strokes in an Ink object. Examples of Strokes collections are:
All strokes drawn by the same cursor.
Strokes in the Ink object corresponding to a word.
All strokes that intersect a known region.
Strokes collections are references to ink data and are not the actual data itself.
You can create a new Strokes collection by calling the InkCreateStrokes method, or by using the Add method of the InkCustomStrokes property. The Strokes class does not have a publicly accessible constructor.
Caution: |
|---|
To avoid a memory leak, you must explicitly call the Dispose method on any Strokes collection to which an event handler has been attached before the collection goes out of scope. |
After the Strokes collection is created, it can be used to specify various operations on that subset of strokes, such as drawing, measuring, deleting, or extracting the set to a new Ink object.
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Caution: