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 Dim hasConfidenceLevel As Boolean = False Dim hasHotPoint As Boolean = False Dim hasLineMetrics As Boolean = False Dim hasLineNumber As Boolean = False Dim hasMaximumStrokeCount As Boolean = False Dim hasPointsPerInch As Boolean = False Dim hasSegmentation As Boolean = False Dim myInkRecognizerCapabilityGuids() As Guid = myInkRecognizer.GetSupportedProperties() Dim myTempGuid As Guid = Nothing Dim i As Integer = 0 While i < myInkRecognizerCapabilityGuids.Length myTempGuid = myInkRecognizerCapabilityGuids(i) If myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.ConfidenceLevel Then hasConfidenceLevel = True ElseIf myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.HotPoint Then hasHotPoint = True ElseIf myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.LineMetrics Then hasLineMetrics = True ElseIf myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.LineNumber Then hasLineNumber = True ElseIf myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.MaximumStrokeCount Then hasMaximumStrokeCount = True ElseIf myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.PointsPerInch Then hasPointsPerInch = True ElseIf myTempGuid = System.Windows.Ink.AnalysisCore.RecognitionProperty.Segmentation Then hasSegmentation = True End If i = i + 1 End While
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.