Поделиться через


AnalysisModes - перечисление

Обновлен: Ноябрь 2007

Specifies how the InkAnalyzer functions.

Это перечисление имеет атрибут FlagsAttribute, поддерживающий побитовое соединение составляющих его значений.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink.Analysis (в Microsoft.Ink.Analysis.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration AnalysisModes
'Применение
Dim instance As AnalysisModes
[FlagsAttribute]
public enum AnalysisModes
[FlagsAttribute]
public enum class AnalysisModes
/** @attribute FlagsAttribute */
public enum AnalysisModes
public enum AnalysisModes

Члены

Имя члена Описание
None No modes are enabled.
AutomaticReconciliationEnabled Specifies whether the InkAnalyzer automatically starts the reconciliation operation as soon as the intermediate or final results are ready. If this mode is enabled, the ReadyToReconcile event is not raised. If this mode is disabled, the ReadyToReconcile event is raised.
StrokeCacheAutoCleanupEnabled Specifies whether the InkAnalyzer automatically clears unneeded strokes from the stroke cache before performing analysis. If this mode is enabled, the InkAnalyzer clears the stroke data before performing analysis. Your code must also then handle the UpdateStrokesCacheBase event. If the UpdateStrokesCacheBase event is not handled, an exception is raised. This check is done both at the Analyze (or BackgroundAnalyze) and Reconciliation phases. If this mode is disabled, the InkAnalyzer does not clear the stroke data. To clear the stroke data, call ClearStrokeData. If this mode is disabled, the UpdateStrokesCacheBase event is raised so the InkAnalyzer can retrieve the latest stroke data for any strokes that have had their cache cleared. If the stroke cache is cleared, but the UpdateStrokesCacheBase event is not handled, an exception is raised.
PersonalizationEnabled Specifies whether personalization is enabled. If the recognizers support personalization, the personalized data will be used to improve accuracy.
Default All modes are enabled.

Заметки

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Примеры

The following example demonstrates the AnalysisModes enumeration.

myInkAnalyzer.AnalysisModes = myInkAnalyzer.AnalysisModes And _
    Not AnalysisModes.StrokeCacheAutoCleanupEnabled
myInkAnalyzer.AnalysisModes = myInkAnalyzer.AnalysisModes &
    ~AnalysisModes.StrokeCacheAutoCleanupEnabled;

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Microsoft.Ink - пространство имен