Share via


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 byte[] SaveResults (
    Strokes strokes
)
public function SaveResults (
    strokes : Strokes
) : byte[]
Not applicable.

Parameters

  • strokes
    The stroke collection for which to save analysis results.

Return Value

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.

Example

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 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
Microsoft.Ink Namespace
InkAnalyzer.Ink
Microsoft.Ink.InkAnalyzer.Load
Microsoft.Ink.ContextNode
Microsoft.Ink.Ink