InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) Method

Definition

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

public:
 virtual void SetStrokeDataKind(unsigned int strokeId, InkAnalysisStrokeKind strokeKind) = SetStrokeDataKind;
void SetStrokeDataKind(uint32_t const& strokeId, InkAnalysisStrokeKind const& strokeKind);
public void SetStrokeDataKind(uint strokeId, InkAnalysisStrokeKind strokeKind);
function setStrokeDataKind(strokeId, strokeKind)
Public Sub SetStrokeDataKind (strokeId As UInteger, strokeKind As InkAnalysisStrokeKind)

Parameters

strokeId
UInt32

uint32_t

The unique identifier for the ink stroke being categorized.

strokeKind
InkAnalysisStrokeKind

The InkAnalysisStrokeKind category to assign to the InkAnalysisNode.

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.

Applies to