InkAnalyzer.GetRecognizedString Method
Returns the best-result string of the recognition operation for the entire context node tree in the ink analyzer.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.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
This returns the same value as when calling the RootNode object's GetPropertyData method with a propertyDataId parameter of RecognizedString.
Examples
The following example takes the result of GetRecognizedString from a InkAnalyzer, theInkAnalyzer, and sets the text of a System.Windows.Forms.TextBox, theResultsTextBox.
theResultsTextBox.Text = theInkAnalyzer.GetRecognizedString()
theResultsTextBox.Text = theInkAnalyzer.GetRecognizedString();
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