The Tablet PC platform provides the Microsoft gesture recognizer for supporting application gestures. For a list of gestures supported by the Microsoft gesture recognizer, see the table of application gestures in the ApplicationGesture enumeration. The Tablet PC also supports system gestures. For a list of system gestures supported by the Tablet PC, see the table of system gestures in the SystemGesture enumeration.
Microsoft Gesture Recognizer
You can employ the Microsoft gesture recognizer by using the CollectionMode property of the InkCollector object, the InkOverlay object, or the InkPicture control. Setting the CollectionMode property to mixed mode (InkAndGesture) or gesture-only mode (GestureOnly) passes ink to the Microsoft gesture recognizer by default. You can employ the Microsoft gesture recognizer with the InkEdit control by setting the InkMode property to InkAndGesture. You can also use gesture recognition with the RealTimeStylus object by adding a GestureRecognizer object to one of its plug-in collections.
However, if the gestures that you want to use are not supported by the current version of the Microsoft gesture recognizer, you can build your own recognizer and use it in conjunction with the Microsoft gesture recognizer. This allows full support for the gestures in your application.
The Tablet PC uses a pen for some or all input. This makes it extremely easy to write ink. The Tablet PC platform delivers architecture for pen input that supports a tiered structure of gestures. Gestures and mapping are defined to allow the user to write and invoke advanced gestures on new surfaces, while reserving gestures that invoke traditional mouse messages of other Windows-based applications.
The Tablet PC platform introduces two levels of gestures: system gestures, also known as system events, and application gestures. The pen architecture supports both system and application gestures. Both single-stroke and multiple-stroke application gestures are supported.