InkAnalyzer の認識候補の正確さに関する信頼性レベルを示す値を取得します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)
構文
'宣言
Public ReadOnly Property InkRecognitionConfidence As InkRecognitionConfidence
'使用
Dim instance As AnalysisAlternate
Dim value As InkRecognitionConfidence
value = instance.InkRecognitionConfidence
public InkRecognitionConfidence InkRecognitionConfidence { get; }
public:
property InkRecognitionConfidence InkRecognitionConfidence {
InkRecognitionConfidence get ();
}
/** @property */
public InkRecognitionConfidence get_InkRecognitionConfidence()
public function get InkRecognitionConfidence () : InkRecognitionConfidence
プロパティ値
型 : Microsoft.Ink.InkRecognitionConfidence
InkRecognizer の認識候補の正確さに関する信頼性レベルを示す InkRecognitionConfidence 値の 1 つ。
例
次の例では、InkAnalyzer、theInkAnalyzer 上で GetAlternates を呼び出します。次に、AnalysisAlternateCollection をループし、Poor の InkRecognitionConfidence 値ではないすべての代替候補を ListBox,alternatesListBox に入力します。
alternatesListBox.Items.Clear()
' ContextNodeCollection selectedSubNodes is obtained via
' DirectCast(theInkAnalyzer.RootNode, RootNode).GetNodesFromTextRange(selStart, selLength);
Me.currentAlternates = theInkAnalyzer.GetAlternates(selectedSubNodes)
Dim alternate As AnalysisAlternate
For Each alternate In Me.currentAlternates
' Add only those that are not Poor confidence
If alternate.InkRecognitionConfidence <> _
Microsoft.Ink.InkRecognitionConfidence.Poor Then
alternatesListBox.Items.Add(alternate.RecognizedString)
End If
Next alternate
alternatesListBox.Items.Clear();
// ContextNodeCollection selectedSubNodes is obtained via
// ((RootNode)theInkAnalyzer.RootNode).GetNodesFromTextRange(ref selStart, ref selLength);
this.currentAlternates = theInkAnalyzer.GetAlternates(selectedSubNodes);
foreach (AnalysisAlternate alternate in this.currentAlternates)
{
// Add only those that are not Poor confidence
if (alternate.InkRecognitionConfidence !=
Microsoft.Ink.InkRecognitionConfidence.Poor)
{
alternatesListBox.Items.Add(alternate.RecognizedString);
}
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0