RecognitionProperty Class
Defines globally unique identifiers (GUIDs) for properties that a InkRecognizerBase might support for recognition results.
Assembly: IACore (in IACore.dll)
These GUIDs are available as read-only fields of this object. Use the InkRecognizerBase.GetSupportedProperties method to determine which properties are supported by a InkRecognizerBase.
Use these GUIDs to access properties of a RecognitionAlternate object by calling the GetPropertyValue method.
The following example demonstrates the RecognitionProperty class.
// Flags to hold capabilities bool hasConfidenceLevel = false, hasHotPoint = false, hasLineMetrics = false, hasLineNumber = false, hasMaximumStrokeCount = false, hasPointsPerInch = false, hasSegmentation = false; Guid[] myInkRecognizerCapabilityGuids = myInkRecognizer.GetSupportedProperties(); Guid myTempGuid; for (int i = 0; i < myInkRecognizerCapabilityGuids.Length; i++) { myTempGuid = myInkRecognizerCapabilityGuids[i]; if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.ConfidenceLevel) { hasConfidenceLevel = true; } else if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.HotPoint) { hasHotPoint = true; } else if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.LineMetrics) { hasLineMetrics = true; } else if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.LineNumber) { hasLineNumber = true; } else if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.MaximumStrokeCount) { hasMaximumStrokeCount = true; } else if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.PointsPerInch) { hasPointsPerInch = true; } else if (myTempGuid == System.Windows.Ink.AnalysisCore.RecognitionProperty.Segmentation) { hasSegmentation = true; } }
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.