Windows.UI.Input.Inking
TOC
Collapse the table of content
Expand the table of content

Windows.UI.Input.Inking namespace

Provides input, processing, and management support for Windows Ink apps.

This includes:

  • Drawing ink strokes.
  • Capturing strokes.
  • Rendering strokes.
  • 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.
InkDrawingAttributesPencilProperties Provides a set of static InkDrawingAttributes properties for rendering a pencil stroke on an InkCanvas.
InkInputProcessingConfiguration Provides properties for managing the input behavior (standard or modified) of the InkPresenter object.
InkManager Provides properties and methods to manage the input, manipulation, and processing (including handwriting recognition) of one or more InkStroke objects.
InkPoint Provides raw input data for a single point used in the construction of an InkStroke.
InkPresenter Provides properties, methods, and events for managing the input, processing, and rendering of ink input (standard and modified) for an InkCanvas control.
InkPresenterRuler Represents a visual stencil, displayed as an semi-transparent overlay on an InkCanvas.
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 used for handwriting recognition.
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 store and manage the collection of InkStroke objects rendered by the InkPresenter.
InkStrokeInput Provides properties and events for StrokeInput associated with an InkPresenter object.
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 ink input and provides methods for rendering it to the Direct2D device context of your Universal Windows app, instead of the default InkCanvas control.
InkUnprocessedInput Provides properties and events for custom processing of ink data from an InkCanvas control. The data is not processed by the InkPresenter.

 

Enumerations

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

EnumerationDescription
InkDrawingAttributesKind Specifies the type of InkDrawingAttributes associated with the InkStroke.
InkInputProcessingMode Specifies how the InkPresenter object handles input (standard and modified) from the associated InkCanvas control.
InkInputRightDragAction Specifies how the InkPresenter object handles input (standard and modified) from the associated InkCanvas control, when 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 Specifies the inking behavior of one or more contact points. Used with SetPredefinedConfiguration.
InkPresenterStencilKind Specifies the type of stencil exposed by an InkPresenterRuler object.
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 used in the construction of an InkStroke.
IInkPresenterRulerFactory Defines the implementation for a type that generates InkPresenterRuler objects used in the construction of an InkPresenter.
IInkPresenterStencil Represents a visual stencil, displayed as an semi-transparent overlay on an InkCanvas.
IInkRecognizerContainer Represents one or more InkRecognizer objects.
IInkStrokeContainer Represents a manager for the collection of InkStroke objects rendered by the InkPresenter.

 

See also

Pen and stylus interactions
Samples
Ink sample
Simple ink sample
Complex ink sample
Complex inking sample (Windows 10)
Inking sample (Windows 10)
Simple inking sample (Windows 10)

 

 

Show:
© 2016 Microsoft