共用方式為


Ink presenter

The ink presenter APIs enable Microsoft Win32 apps to manage the input, processing, and rendering of ink input (standard and modified) through an InkPresenter object inserted into the app's DirectComposition visual tree.

Note

Standard ink input (pen tip or eraser tip/button) is not modified with a secondary affordance, such as a pen barrel button, right mouse button, or similar.

 

Universal Windows Platform (UWP) apps using Extensible Application Markup Language (XAML) provide this functionality through an InkCanvas control along with an InkPresenter object that connects to the XAML DirectComposition visual tree. For more detail, see Pen and stylus interactions.

Ink renderer is designed for use by Universal Windows app developers interested in providing XAML-based InkCanvas/InkPresenter functionality in native Win32 apps.

In this section

Topic Description
Ink presenter classes
The topics contained in this section provide the reference specifications for Ink presenter classes.
Ink presenter interfaces
The topics contained in this section provide the reference specifications for Ink presenter interfaces.

 

Ink input

Pen and stylus interactions

Samples

Ink sample

Simple ink sample

Complex ink sample