Compartir a través de


InkAnalyzer.GetRecognizedString Method

Returns the best-result string of the recognition operation for the entire 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 String GetRecognizedString ()
public function GetRecognizedString () : String
Not applicable.

Return Value

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.

Example

The following example takes the result of GetRecognizedString from a InkAnalyzer, theInkAnalyzer, and sets the text of a TextBox, theResultsTextBox.

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

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

InkAnalyzer Class
InkAnalyzer Members
System.Windows.Ink Namespace