Represents the collected strokes of ink within an ink space.
Definition
Members Table
The following table lists the members exposed by the object.
Events
| Event | Description |
|---|
| InkAdded | Occurs when a stroke is added to the Ink object. |
| InkDeleted | Occurs when a stroke is deleted from the Ink object. |
Fields
| Field | Description |
|---|
InkSerializedFormat | Returns a string that contains the name of the format for ink serialized format (ISF) for querying the Clipboard. |
Methods
Properties
| Property | Description |
|---|
| CustomStrokes | Gets the CustomStrokes collection to be persisted with the ink. |
| Dirty | Gets or sets the value that indicates whether an Ink object has been modified since the last time the ink was saved. |
| ExtendedProperties | Gets the collection of application-defined data. |
| Strokes | Gets a copy of the Strokes collection contained in the Ink object. |
Inheritance Hierarchy
Remarks
Caution: To avoid a memory leak, you must explicitly call the
Dispose method on any
Ink object to which an event handler has been attached before the object goes out of scope.
An Ink object is a container of stroke (point) data. The stroke data, or the points collected by the pen, are put into an Ink object. The Strokes property contains the data for all strokes within the Ink object.
The InkCollector object, InkOverlay object, InkPicture control, and InkEdit control collect points from the input device and put them into an Ink object. These objects essentially act as the source that distributes ink into one or many different Ink objects, which act as containers that hold the distributed ink.
The ink space is a virtual coordinate space to which the coordinates of the tablet context are mapped. This space is fixed to a HIMETRIC coordinate system. In ink space coordinates, a move from 0 to 1 equals 1 HIMETRIC unit. This mapping makes it easy to relate multiple Ink objects.
The Renderer object manages the mappings between ink and the display window.
Class Information
| Namespace | Microsoft.Ink |
|---|
| Assembly | Microsoft.Ink (microsoft.ink.dll) |
|---|
| Strong Name | Microsoft.Ink,
Version=1.7.4009.0,
Culture=neutral,
PublicKeyToken=a2870d9cc4d021c8 |
|---|