InkAnalyzer.SaveResults Method (Stream, ContextNodeCollection)
Saves analysis results for a specific context node collection associated with an ink analyzer.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Syntax
'Declaration
Public Sub SaveResults ( _
stream As Stream, _
nodes As ContextNodeCollection _
)
'Usage
Dim instance As InkAnalyzer
Dim stream As Stream
Dim nodes As ContextNodeCollection
instance.SaveResults(stream, nodes)
public void SaveResults(
Stream stream,
ContextNodeCollection nodes
)
public:
void SaveResults(
Stream^ stream,
ContextNodeCollection^ nodes
)
public function SaveResults(
stream : Stream,
nodes : ContextNodeCollection
)
Parameters
stream
Type: System.IO.StreamThe stream to which ink analyzer results are saved.
nodes
Type: System.Windows.Ink.ContextNodeCollectionThe context node collection for which analysis results are saved.
Remarks
This method saves the current analysis results for nodes and for all of their ancestor and descendant context nodes.
This method throws an exception when any context node in nodes has a ContextNode.PartiallyPopulated value of true.
Examples
This example saves all the analysis results for the ContextNodeCollection named theSelectedNodes. theInkAnalyzer is the InkAnalyzer that contains theSelectedNodes. A MemoryStream named theSavedResults stores the saved analysis results.
' Save the results for the selected context nodes.
Me.theInkAnalyzer.SaveResults(theSavedResults, theSelectedNodes)
// Save the results for the selected context nodes.
this.theInkAnalyzer.SaveResults(theSavedResults, theSelectedNodes);
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