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 function SaveResults(
stream : Stream,
node : ContextNode
)
Parameters
stream
Type: System.IO.StreamThe stream to which ink analyzer results are saved.
node
Type: System.Windows.Ink.ContextNodeThe context node where analysis results are saved.
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.
Examples
This example saves all the analysis results for the ContextNode named theSelectedNode. The InkAnalyzer (theInkAnalyzer) contains theSelectedNode. A MemoryStream named theSavedResults 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 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