Share via


ObjectNode.GetRecognizedString Method

Returns the best-result string for the ObjectNode from the recognition operation.

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

Syntax

'Declaration
Public Function GetRecognizedString As String
'Usage
Dim instance As ObjectNode 
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 from the ObjectNode recognition.

Remarks

If the InkAnalyzer does not recognize a string value, GetRecognizedString returns an empty string.

Examples

The following example puts the results of GetRecognizedString into the Text property of a TextBox, selectedResultsTextBox.

selectedResultsTextBox.Text = selectedObject.GetRecognizedString()
selectedResultsTextBox.Text = selectedObject.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

ObjectNode Class

ObjectNode Members

System.Windows.Ink Namespace