Compartilhar via


RecognitionProperty Constants

RecognitionProperty Constants

Defines values that specify the properties of a recognition alternate. The Tablet PC application programming interface (API) uses globally unique identifiers (GUIDs) to identify packet properties, which in Automation are constant strings.

C++

In C++, you can access these constants in the Msinkaut.h header file, which is located in the <systemdrive>:\Program Files\Microsoft Tablet PC Platform SDK\Include directory if you installed the SDK in the default location.

Note: In C++, these constants are WCHARs, not BSTRs. Convert them into BSTRs before use. For more information about the BSTR data type, see Using the Automation Library.

Visual Basic 6.0

In Microsoft® Visual Basic® 6.0, these constants are defined in the InkConstants.bas file, which is located in the <systemdrive>:\Program Files\Microsoft Tablet PC Platform SDK\Include directory if you installed the SDK in the default location.

Constants

The following table lists the available recognition alternate property globally unique identifier (GUID) fields. Use these GUIDs to access properties of a IInkRecognitionAlternate object by calling the GetPropertyValue method.

C++ Name Visual Basic 6.0 Name Definition
INKRECOGNITIONPROPERTY_LINENUMBER LineNumber The GUID that identifies the property for the line number of the IInkRecognitionAlternate object.

LineNumber specifies the alternates with a particular line number.

Note: This field is not supported for recognizers of East Asian characters.
INKRECOGNITIONPROPERTY_SEGMENTATION Segmentation The GUID that identifies the property for the segmentation of the IInkRecognitionAlternate object.

Segmentation specifies the basic ink fragment or unit that the recognizer uses to produce a recognition result.

Note: Not implemented.
INKRECOGNITIONPROPERTY_HOTPOINT HotPoint The GUID that identifies the property for the recognition hot point of the IInkRecognitionAlternate object.
INKRECOGNITIONPROPERTY_MAXIMUMSTROKECOUNT MaximumStrokeCount The GUID that identifies the property for the maximum stroke count of the recognition result for the IInkRecognitionAlternate object.

Note: Not implemented.
INKRECOGNITIONPROPERTY_POINTSPERINCH PointsPerInch The GUID that identifies the property for the points-per-inch metric of the IInkRecognitionAlternate object.

Note: Not implemented.
INKRECOGNITIONPROPERTY_CONFIDENCELEVEL ConfidenceLevel The GUID that identifies the property for the level of confidence that the recognizer has in the recognition result.

Note: Confidence evaluation is available only for United States English and all gesture recognizers in the current release of Microsoft Windows® XP Tablet PC Edition. Methods that provide the confidence property for any other recognizer return E_NOTIMPL.
INKRECOGNITIONPROPERTY_LINEMETRICS LineMetrics The GUID that identifies the property for the line metrics of the IInkRecognitionAlternate object, which is the line for which to retrieve metrics.