Make an app that can create handwritten notes, drawings, and annotations, by adding support for a pen or stylus.
This documentation is relevant for developers building Windows Store apps for tablets and computers that have an attached digitizer that accepts pen input. The digitizer can be beneath the surface of the screen, or attached as a peripheral device.
A pen/stylus can serve as a precision pointing device. It can also be a drawing device associated with digital ink.
The Windows 8 ink platform, together with a pen/stylus device, provides a natural way to create handwritten notes, drawings, and annotations. The platform supports capturing ink data from digitizer input, generating ink data, rendering that data as ink strokes on the output device, managing the ink data, and performing handwriting recognition.
In addition to capturing the spatial movements of the pen as the user writes or draws, your app can also collect info such as pressure, shape, color, and opacity, to offer user experiences that closely resemble drawing on paper with a pen, pencil, or brush.
Note The ink platform in Windows 8 also supports input from other pointer devices, including touch digitizers and mouse devices.
The inherent precision of pen input is supported naturally by the UI of Windows 8, which is optimized for the imprecise nature of touch. Optimize your Windows Store app design for touch input and get basic pen support by default.
To support pen interactions in scenarios that emphasize direct manipulation, use pen-specific UI to provide equivalent functionality for the users of your app independent of the device they are using. For example, when a pen is detected use a scrollbar to emulate panning or previous and next buttons to flip through pages of content.
This Quickstart walks you through capturing ink data from an input digitizer.
Learn how to render ink stroke segments as smooth Bézier curves.
This topic demonstrates how to save ink data by serializing it as Ink Serialized Format (ISF) metadata and embedding the metadata into a Graphics Interchange Format (GIF) file.
This topic demonstrates how to load ink data by de-serializing it from ISF metadata embedded in a GIF file.
- Responding to user interaction
- Samples (DOM)
- Input: DOM pointer event handling sample
- Samples (Windows Store app APIs)
- Input: Device capabilities sample
- Input: Ink sample
- Input: Simplified ink sample
Build date: 11/16/2013