Share via


InkAnalyzer.SaveResults Method (Stream)

Saves the analysis results for an ink analyzer to the specified stream.

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

Syntax

'Declaration
Public Sub SaveResults ( _
    stream As Stream _
)
'Usage
Dim instance As InkAnalyzer 
Dim stream As Stream

instance.SaveResults(stream)
public void SaveResults(
    Stream stream
)
public:
void SaveResults(
    Stream^ stream
)
public function SaveResults(
    stream : Stream
)

Parameters

  • stream
    Type: System.IO.Stream

    The stream to which ink analyzer results are saved.

Remarks

This method saves all the current analysis results, including current analysis hint and custom recognizer nodes.

This method throws an exception when any context node has a ContextNode.PartiallyPopulated value of true.

Examples

This example saves all the analysis results for the InkAnalyzer named theInkAnalyzer. The saved analysis results are stored in a MemoryStream named theSavedResults.

' Save the results for the ink analyzer. 
Me.theInkAnalyzer.SaveResults(theSavedResults)
// Save the results for the ink analyzer. 
this.theInkAnalyzer.SaveResults(theSavedResults);

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

SaveResults Overload

System.Windows.Ink Namespace