InkAnalyzer.SetStrokeDataKind(UInt32, InkAnalysisStrokeKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
unsigned int
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.