Partager via


InkAnalyzerBase.AnalysisModes, propriété

Mise à jour : November 2007

Obtient ou définit des indicateurs qui contrôlent la manière dont l'analyseur d'entrée manuscrite effectue l'analyse d'entrée manuscrite.

Espace de noms :  System.Windows.Ink.AnalysisCore
Assembly :  IACore (dans IACore.dll)

Syntaxe

'Déclaration
Public Property AnalysisModes As AnalysisModes
'Utilisation
Dim instance As InkAnalyzerBase
Dim value As AnalysisModes

value = instance.AnalysisModes

instance.AnalysisModes = value
public AnalysisModes AnalysisModes { get; set; }
public:
property AnalysisModes AnalysisModes {
    AnalysisModes get ();
    void set (AnalysisModes value);
}
/** @property */
public AnalysisModes get_AnalysisModes()
/** @property */
public  void set_AnalysisModes(AnalysisModes value)
public function get AnalysisModes () : AnalysisModes
public function set AnalysisModes (value : AnalysisModes)

Valeur de propriété

Type : System.Windows.Ink.AnalysisCore.AnalysisModes
Combinaison d'opérations de bits des valeurs de l'énumération System.Windows.Ink.AnalysisCore.AnalysisModes.

Exemples

Cet exemple initialise un nouveau InkAnalyzerBase, theInkAnalyzerBase. La propriété AnalysisModes est définie et un gestionnaire d'événements UpdateStrokesCacheBase est attaché.

' Create the ink analyzer and enable automatic reconciliation and
' automatic stroke cache cleanup, but not intermediate results.
Dim theInkAnalyzerBase As New System.Windows.Ink.AnalysisCore.InkAnalyzerBase()
theInkAnalyzerBase.AnalysisModes = _
    System.Windows.Ink.AnalysisCore.AnalysisModes.AutomaticReconciliationEnabled _
    Or System.Windows.Ink.AnalysisCore.AnalysisModes.StrokeCacheAutoCleanupEnabled

' Since automatic stroke cache cleanup is enabled, add an event
' handler for the UpdateStrokesCacheBase event.
AddHandler theInkAnalyzerBase.UpdateStrokesCacheBase, _
    AddressOf theInkAnalyzerBase_UpdateStrokesCacheBase
// Create the ink analyzer and enable automatic reconciliation and
// automatic stroke cache cleanup, but not intermediate results.
System.Windows.Ink.AnalysisCore.InkAnalyzerBase theInkAnalyzerBase =
    new System.Windows.Ink.AnalysisCore.InkAnalyzerBase();
theInkAnalyzerBase.AnalysisModes =
    System.Windows.Ink.AnalysisCore.AnalysisModes.AutomaticReconciliationEnabled
    | System.Windows.Ink.AnalysisCore.AnalysisModes.StrokeCacheAutoCleanupEnabled;

// Since automatic stroke cache cleanup is enabled, add an event
// handler for the UpdateStrokesCacheBase event.
theInkAnalyzerBase.UpdateStrokesCacheBase +=
    new System.Windows.Ink.AnalysisCore.UpdateStrokesCacheBaseEventHandler(
        theInkAnalyzerBase_UpdateStrokesCacheBase);

Plateformes

Windows Vista, Windows XP SP2, Windows Server 2003

Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Informations de version

.NET Framework

Pris en charge dans : 3.0

Voir aussi

Référence

InkAnalyzerBase, classe

Membres InkAnalyzerBase

System.Windows.Ink.AnalysisCore, espace de noms

System.Windows.Ink.AnalysisCore.AnalysisModes

InkAnalyzerBase.Analyze

InkAnalyzerBase.BackgroundAnalyze