Condividi tramite


InkAnalyzer.SaveResults Method (Stream, ContextNode)

Saves analysis results for a specific context node associated with an ink analyzer.

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

Syntax

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

instance.SaveResults(stream, node)
public void SaveResults (
    Stream stream,
    ContextNode node
)
public:
void SaveResults (
    Stream^ stream, 
    ContextNode^ node
)
public void SaveResults (
    Stream stream, 
    ContextNode node
)
public function SaveResults (
    stream : Stream, 
    node : ContextNode
)
Not applicable.

Parameters

  • stream
    The stream to which ink analyzer results are saved.
  • node
    The context node for which to save analysis results.

Remarks

This method saves the current analysis results for node and for all of its ancestor and descendant context nodes.

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

Example

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

' Save the results for the selected context node.
theInkAnalyzer.SaveResults(theSavedResults, theSelectedNode)
// Save the results for the selected context node.
theInkAnalyzer.SaveResults(theSavedResults, theSelectedNode);

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