InkAnalyzer の認識結果の正確さに関する信頼性レベルを示す値を取得します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public ReadOnly Property InkRecognitionConfidence As InkRecognitionConfidence
'使用
Dim instance As ParagraphNode
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
プロパティ値
型 : System.Windows.Ink.InkRecognitionConfidence
InkAnalyzer の認識結果の正確さに関する信頼性レベルを示す値。
例
次の例では、InkAnalyzer、theInkAnalyzer から生成されたすべての ParagraphNode オブジェクトをループし、ストロークの幅を太くすることにより、認識信頼性が Strong() ではないノードから取得されたすべてのストロークをマークします。
Dim paragraphs As ContextNodeCollection = _
theInkAnalyzer.FindNodesOfType(ContextNodeType.Paragraph)
' Mark each paragraph that is not high confidence as thick.
Dim paragraph As ParagraphNode
For Each paragraph In paragraphs
If paragraph.InkRecognitionConfidence <> InkRecognitionConfidence.Strong Then
Dim stroke As Stroke
For Each stroke In paragraph.Strokes
stroke.DrawingAttributes.Height = 3F
stroke.DrawingAttributes.Width = 3F
Next stroke
End If
Next paragraph
ContextNodeCollection paragraphs =
theInkAnalyzer.FindNodesOfType(ContextNodeType.Paragraph);
// Mark each paragraph that is not high confidence as thick.
foreach (ParagraphNode paragraph in paragraphs)
{
if (paragraph.InkRecognitionConfidence !=
InkRecognitionConfidence.Strong)
{
foreach (Stroke stroke in paragraph.Strokes)
{
stroke.DrawingAttributes.Height = 3f;
stroke.DrawingAttributes.Width = 3f;
}
}
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0