Represents an object that is useful for annotation scenarios where users are not concerned with performing recognition on ink but instead are interested in the size, shape, color, and position of the ink.
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
To avoid a memory leak you must explicitly call the Dispose method on any object to which an event handler has been attached before the object goes out of scope.
The object is well suited for note taking and basic scribbling. The primary intended use of this object is to display ink as ink.
In general, the run-time user interface for this object is a transparent window with opaque ink.
The MouseDown, MouseMove, MouseUp, and MouseWheel events return x- and y-coordinates in pixels, and not the HIMETRIC units that are associated with the ink space. This is because these events replace the mouse events of pen-unaware applications and these applications understand only pixels.
If you are setting the object's AttachMode property to InFront, then create the object in the thread in which the form is running. Your application may stop responding if the object is created in a different thread and its AttachMode property is set to InFront.
The object cannot be safely released on a non-user interface (UI) thread.
To improve your application's performance, manually dispose of an object when it is no longer needed.
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.