Sdílet prostřednictvím


InkAnalyzerBase.GetAlternates Method

Returns up to 10 analysis alternates for all ink associated with the ink analyzer.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public Function GetAlternates As AnalysisAlternateBaseCollection
'Usage
Dim instance As InkAnalyzerBase 
Dim returnValue As AnalysisAlternateBaseCollection 

returnValue = instance.GetAlternates()
public AnalysisAlternateBaseCollection GetAlternates()
public:
AnalysisAlternateBaseCollection^ GetAlternates()
public function GetAlternates() : AnalysisAlternateBaseCollection

Return Value

Type: System.Windows.Ink.AnalysisCore.AnalysisAlternateBaseCollection
Up to 10 of the top analysis alternates for all ink associated with the ink analyzer.

Remarks

The top alternate is returned as the first alternate of the collection. If there are more that 10 alternates, only the first 10 are returned.

Examples

The following example gets the default number of alternates for the InkAnalyzerBase, theInkAnalyzerBase.

' Retrieve alternates for the entire results. 
Dim theAlternates As System.Windows.Ink.AnalysisCore.AnalysisAlternateBaseCollection = _
    theInkAnalyzerBase.GetAlternates()
// Retrieve alternates for the entire results.
System.Windows.Ink.AnalysisCore.AnalysisAlternateBaseCollection theAlternates =
    theInkAnalyzerBase.GetAlternates();

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

See Also

Reference

InkAnalyzerBase Class

InkAnalyzerBase Members

GetAlternates Overload

System.Windows.Ink.AnalysisCore Namespace

System.Windows.Ink.AnalysisCore.AnalysisAlternateBase

System.Windows.Ink.AnalysisCore.AnalysisAlternateBaseCollection