PropertyGuidsForContextNodes.ConfidenceLevel Field
Specifies the globally unique identifier (GUID) for getting the integer that represents the confidence level.
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 Guid ConfidenceLevel
public static final var ConfidenceLevel : Guid
Not applicable.
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.
Example
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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace