Coding the TabletPC
Microsoft has made programming in the TabletPC environment embarrassingly simple.
The code in Listing 1 is all the code that you need to perform handwriting translation on handwritten data created by using a stylus.
Listing 1 Handwriting recognition technology is encapsulated into the Ink.Strokes collection ToString() method
string str = inkCollector.Ink.Strokes.ToString();
That’s it! Most of the hard stuff that can be intimidating when you think about programming for the TabletPC is encapsulated within the classes that are provided to you with the TabletPC SDK. Once you get the hang of using a few classes and controls, you can make useful TabletPC in no time.