InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) Method

Definition

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

public : void SetStrokeDataKind(unsigned int strokeId, InkAnalysisStrokeKind strokeKind)
void SetStrokeDataKind(uint32_t strokeId, InkAnalysisStrokeKind strokeKind) const;
public void SetStrokeDataKind(UInt32 strokeId, InkAnalysisStrokeKind strokeKind)
Public Sub SetStrokeDataKind(strokeId As UInt32, strokeKind As InkAnalysisStrokeKind)
inkAnalyzer.setStrokeDataKind(strokeId, strokeKind);

Parameters

strokeId
UInt32 UInt32 UInt32

The unique identifier for the ink stroke being categorized.

Remarks

Use SetStrokeDataKind 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.