Share via


InkAnalyzer.GetRecognizedString Method

Returns the best-result string for the recognition operation used for the context node tree in the ink analyzer.

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

Syntax

'Declaration
Public Function GetRecognizedString As String
'Usage
Dim instance As InkAnalyzer 
Dim returnValue As String 

returnValue = instance.GetRecognizedString()
public string GetRecognizedString()
public:
String^ GetRecognizedString()
public function GetRecognizedString() : String

Return Value

Type: System.String
The best-result string of the recognition operation for the entire context node tree in the ink analyzer.

Remarks

The return value is the same value received when calling the RootNode object's GetPropertyData method with a propertyDataId parameter of RecognizedString.

Examples

The following example uses the string value GetRecognizedString from a InkAnalyzer named theInkAnalyzer, to set the text for a TextBox named theResultsTextBox.

theResultsTextBox.Text = theInkAnalyzer.GetRecognizedString()
theResultsTextBox.Text = theInkAnalyzer.GetRecognizedString();

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

InkAnalyzer Class

InkAnalyzer Members

System.Windows.Ink Namespace