InkRecognitionTarget Enum


Indicates which strokes you want to include in handwriting recognition.

public enum class InkRecognitionTarget
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum InkRecognitionTarget
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum InkRecognitionTarget
var value = Windows.UI.Input.Inking.InkRecognitionTarget.all
Public Enum InkRecognitionTarget

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


All 0

All strokes in the stroke collection are passed to the recognizer.

Recent 2

All strokes added after the last recognition pass (@"Windows.UI.Input.Inking.InkStroke.Recognized?text=Recognized" is false) are passed to the recognizer.This is useful in incremental recognition scenarios, such as direct tracking of ink input (no indirect controls are used to start recognition).

Selected 1

Selected (@"Windows.UI.Input.Inking.InkStroke.Selected?text=Selected" ) strokes are passed to the recognizer.

Applies to

See also