Windows Dev Center

Windows.UI.Input.Inking namespace

Provides support for ink input, processing, and management. This includes:

  • Drawing ink strokes.
  • Capturing ink strokes.
  • Rendering strokes using Bezier curves.
  • Selecting strokes.
  • Deleting strokes.
  • Saving and loading strokes.
  • Converting strokes to text through handwriting recognition.
  • Copying and pasting strokes from the clipboard.
  • Hit testing (or stroke targeting).

Members

The Windows.UI.Input.Inking namespace has these types of members:

Classes

ClassDescription
InkDrawingAttributes Provides properties associated with the drawing of an InkStroke.
InkInputProcessingConfiguration Provides properties to indicate the behavior of an InkStroke on an InkCanvas control. For example, ink, erase, or select.
InkManager Provides properties and methods to manage the input, manipulation, and processing (including handwriting recognition) of one or more InkStroke objects.
InkPoint Provides properties for a single point in an InkStroke.
InkPresenter Provides properties, methods, and events for managing the input, processing, and rendering of InkStroke data through an InkCanvas control.
InkRecognitionResult Provides properties and methods to manage InkStroke handwriting recognition data.
InkRecognizer Manages all aspects of handwriting recognition.
InkRecognizerContainer Provides properties and methods to manage one or more InkRecognizer objects.
InkStroke A single ink stroke, including the Bézier curve parameters used for final rendering of the stroke.
InkStrokeBuilder Builds strokes from raw pointer input.
InkStrokeContainer Provides properties and methods to manage the input, processing, and manipulation of one or more InkStroke objects.
InkStrokeInput Provides properties and events for InkStroke data from an InkCanvas control.
InkStrokeRenderingSegment A single segment of a complete ink stroke.
InkStrokesCollectedEventArgs Contains event data for the StrokesCollected event of the InkPresenter associated with an InkCanvas control.
InkStrokesErasedEventArgs Contains event data for the StrokesErased event of the InkPresenter associated with an InkCanvas control.
InkSynchronizer Manages the synchronization of InkCanvas input and provides methods to custom "dry" InkStroke objects to the Direct2D device context of an app.
InkUnprocessedInput Provides properties and events for custom processing of InkStroke data from an InkCanvas control. An InkPresenter object is not used to process the input, instead the data is passed through for custom processing by the app.

 

Enumerations

The Windows.UI.Input.Inking namespace has these enumerations.

EnumerationDescription
InkInputProcessingMode Indicates the behavior of a standard InkStroke on an InkCanvas control.
InkInputRightDragAction Indicates the behavior of an InkStroke on an InkCanvas control, where the input is modified with a secondary affordance, such as a pen barrel button, right mouse button, or similar.
InkManipulationMode Identifies the ink input mode.
InkPresenterPredefinedConfiguration Indicates the inking behavior of one or more contact points on an InkCanvas control.
InkRecognitionTarget Indicates which strokes you want to include in handwriting recognition.
PenTipShape Identifies the shape of the PenTip.

 

Interfaces

The Windows.UI.Input.Inking namespace defines these interfaces.

InterfaceDescription
IInkPointFactory Defines the implementation for a type that generates InkPoint objects.
IInkRecognizerContainer Represents one or more InkRecognizer objects.
IInkStrokeContainer Represents a manager for the input, processing, and manipulation of one or more InkStroke objects.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

See also

Responding to pen and stylus input
Ink App sample

 

 

Show:
© 2015 Microsoft