InkAnalyzerBase.ClearStrokeData - метод
Обновлен: Ноябрь 2007
Clears stroke packet data from the ink analyzer.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Sub ClearStrokeData ( _
strokeId As Integer _
)
'Применение
Dim instance As InkAnalyzerBase
Dim strokeId As Integer
instance.ClearStrokeData(strokeId)
public void ClearStrokeData(
int strokeId
)
public:
void ClearStrokeData(
int strokeId
)
public void ClearStrokeData(
int strokeId
)
public function ClearStrokeData(
strokeId : int
)
Параметры
- strokeId
Тип: System.Int32
The identifier of the stroke for which the packet data is cleared.
Заметки
Use this method when packet data for a stroke changes, such as when a stroke is moved or otherwise transformed. The ink analyzer raises the UpdateStrokesCacheBase event when it needs stroke packet data from a stroke for which the packet data has been cleared.
Примеры
The following example clears theInkAnalyzerBase object's stroke cache for selected strokes. theInkAnalyzerBase is declared as an InkAnalyzerBase object. selectedStrokeIds is declared as a 32-bit signed integer array and contains the identifiers for the selected strokes.
' Clear the analyzer's cache for each stroke in the
' selectedStrokeIds array.
Dim theStrokeId As Integer
For Each theStrokeId In selectedStrokeIds
theInkAnalyzerBase.ClearStrokeData(theStrokeId)
Next theStrokeId
// Clear the analyzer's cache for each stroke in the
// selectedStrokeIds array.
foreach (int theStrokeId in selectedStrokeIds)
{
theInkAnalyzerBase.ClearStrokeData(theStrokeId);
}
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0