InkAnalyzerBase, constructeur
Mise à jour : November 2007
Initialise une nouvelle instance de la classe InkAnalyzerBase.
Espace de noms : System.Windows.Ink.AnalysisCore
Assembly : IACore (dans IACore.dll)
Syntaxe
'Déclaration
Public Sub New
'Utilisation
Dim instance As New InkAnalyzerBase()
public InkAnalyzerBase()
public:
InkAnalyzerBase()
public InkAnalyzerBase()
public function InkAnalyzerBase()
Notes
Le InkAnalyzerBase analyse les données de paquet des traits et n'interagit pas directement avec l'entrée manuscrite ou les objets Stroke.
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