IInkAnalyzer::GetStrokeType method

Retrieves the type of the specified stroke.

Syntax

HRESULT GetStrokeType(
  [in]  LONG       lStrokeId,
  [out] StrokeType *pStrokeType
);

Parameters

lStrokeId [in]

The stroke identifier.

pStrokeType [out]

The classification of the specified stroke.

Return value

For a description of the return values, see Classes and Interfaces - Ink Analysis.

Remarks

If the stroke's type is the StrokeType value StrokeType_Unclassified, the IInkAnalyzer classifies the stroke during ink analysis. Otherwise, the IInkAnalyzer uses the type set on the stroke.

The IInkAnalyzer does not set the stroke type value as part of ink analysis. To specify or change the stroke type, use IInkAnalyzer::SetStrokeType Method or IInkAnalyzer::SetStrokesType Method.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
IACom.h (also requires IACom_i.c)
DLL
IACom.dll

See also

IInkAnalyzer

IInkAnalyzer::SetStrokeType Method

IInkAnalyzer::SetStrokesType Method

Ink Analysis Reference