Share via


PropertyGuidsForContextNodes.ConfidenceLevel Field

Specifies the globally unique identifier (GUID) for getting the integer that represents the confidence level.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.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

This 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 demonstrates the ConfidenceLevel field.

' 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 Server 2008 R2, Windows Server 2008

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

Microsoft.Ink Namespace