Share via


InkAnalyzer Class

Definition

Provides access to an object that can categorize ink strokes into either writing or drawing strokes, and recognize text, shapes, and basic layout structures.

public ref class InkAnalyzer sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class InkAnalyzer final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class InkAnalyzer
function InkAnalyzer()
Public NotInheritable Class InkAnalyzer
Inheritance
Object Platform::Object IInspectable InkAnalyzer
Attributes

Windows requirements

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

Constructors

InkAnalyzer()

Creates a new InkAnalyzer object to manage InkAnalysisNode objects generated from ink analysis.

Properties

AnalysisRoot

Gets the root node of the ink analysis results.

IsAnalyzing

Gets the state of the ink analysis process.

Methods

AddDataForStroke(InkStroke)

Adds data for a single ink stroke to the ink analysis results.

AddDataForStrokes(IIterable<InkStroke>)

Adds data for multiple ink strokes to the ink analysis results.

AnalyzeAsync()

Aynchronously generates the tree of objects for the ink analysis process.

ClearDataForAllStrokes()

Delete all nodes from the last ink analysis process.

RemoveDataForStroke(UInt32)

Delete all nodes for the specified ink stroke from the last ink analysis process.

RemoveDataForStrokes(IIterable<UInt32>)

Delete all nodes for the specified ink strokes from the last ink analysis process.

ReplaceDataForStroke(InkStroke)

Update all nodes for the specified ink stroke from the last ink analysis process.

SetStrokeDataKind(UInt32, InkAnalysisStrokeKind)

Sets the ink analysis category for the InkAnalysisNode associated with the ink stroke.

Applies to