Partager 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 void SaveResults (
    Stream stream
)
public function SaveResults (
    stream : Stream
)
Not applicable.

Parameters

  • stream
    The stream to which ink analyzer results are saved.

Remarks

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

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

Example

This example saves all the analysis results for the InkAnalyzer, theInkAnalyzer. theSavedResults is a MemoryStream that stores the saved analysis results.

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

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