Share via


InkAnalysisStrokeKind Enum

Definition

Specifies the types of ink strokes that can be recognized by the ink analysis process.

public enum class InkAnalysisStrokeKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class InkAnalysisStrokeKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum InkAnalysisStrokeKind
var value = Windows.UI.Input.Inking.Analysis.InkAnalysisStrokeKind.auto
Public Enum InkAnalysisStrokeKind
Inheritance
InkAnalysisStrokeKind
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Auto 0

Indicates a non-specific ink stroke.

Writing 1

Indicates a handwriting ink stroke.

Drawing 2

Indicates a non-handwriting ink stroke.

Remarks

Use InkAnalysisStrokeKind with the SetStrokeDataKind method to specify the type of ink stroke you're interested in analyzing: text (including document structure and bullet lists), drawing (including shape recognition), or non-specific. This can improve both efficiency and recognition accuracy.

Applies to

See also