InkAnalyzer.SaveResults Method (Strokes)
Saves analysis results for a specific stroke collection associated with an ink analyzer.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public Function SaveResults ( _
strokes As Strokes _
) As Byte()
'Usage
Dim instance As InkAnalyzer
Dim strokes As Strokes
Dim returnValue As Byte()
returnValue = instance.SaveResults(strokes)
public byte[] SaveResults(
Strokes strokes
)
public:
array<unsigned char>^ SaveResults(
Strokes^ strokes
)
public function SaveResults(
strokes : Strokes
) : byte[]
Parameters
strokes
Type: Microsoft.Ink.StrokesThe stroke collection for which to save analysis results.
Return Value
Type: array<System.Byte[]
An 8-bit unsigned integer array that contains the saved analysis results.
Remarks
This method saves the current analysis results for strokes, but does not save the associated context nodes.
This method throws an exception when any stroke in strokes is associated with a context node that has a ContextNode.PartiallyPopulated value of true.
Examples
This example saves all the analysis results for the Strokes, selectedStrokes. theInkAnalyzer is the InkAnalyzer to which selectedStrokes are assigned. theSavedResults is an 8-bit unsigned integer array and stores the saved analysis results.
' Save the results for the selected strokes.
theSavedResults = Me.theInkAnalyzer.SaveResults(Me.selectedStrokes)
// Save the results for the selected strokes.
theSavedResults = this.theInkAnalyzer.SaveResults(this.selectedStrokes);
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
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