The InkControl and InkControl2 Classes

These two classes provide a quick and dirty user interface to most of the InkOverlay class’s functionality and are mainly useful for exploring API behavior. Derived from the Control class, the InkControl and InkControl2 classes require no host window to use them. They are almost identical to one another, with one subtle difference: the InkControl class allows changing ink color only using the .NET Framework’s ColorDialog class. The InkControl2 class provides more control over ink formatting using the utility library’s FormatInkDlg class.

Note

The two classes are provided for reader reference—the book starts out using InkControl, but once the appropriate material is covered we switch over to the InkControl2 ...

Get Building Tablet PC Applications now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.