Sdílet prostřednictvím


PropertyGuidsForContextNodes.ConfidenceLevel Field

Specifies the globally unique identifier (GUID) for getting the integer that represents the recognizer's level of confidence in the recognition result.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Syntax

'Declaration
Public Shared ReadOnly ConfidenceLevel As Guid
'Usage
Dim value As Guid 

value = PropertyGuidsForContextNodes.ConfidenceLevel
public static readonly Guid ConfidenceLevel
public:
static initonly Guid ConfidenceLevel
public static final var ConfidenceLevel : Guid

Remarks

The ConfidenceLevel field represents the level of confidence that the recognizer has in the accuracy of the recognition result on a ContextNode of type CustomRecognizer, InkBullet, InkWord, Line, Object, Paragraph, Root, TextWord, or WritingRegion.

Examples

The following example checks for an existing ConfidenceLevel in the ContainsPropertyData method of an AnalysisHintNode. If the ConfidenceLevel field exists, it is converted to an integer to populate myConfidenceLevel.

' Get the level of confidence: 1 == poor; 2 == intermediate; 3 == strong 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.ConfidenceLevel) Then 

    Dim myConfidenceLevel As Integer = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.ConfidenceLevel), Integer)
End If
// Get the level of confidence: 1 == poor; 2 == intermediate; 3 == strong 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.ConfidenceLevel))
{
    int myConfidenceLevel =
        (int)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.ConfidenceLevel);
}

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodes Class

PropertyGuidsForContextNodes Members

System.Windows.Ink Namespace