InkAnalyzerBase.RemoveStrokes - метод
Обновлен: Ноябрь 2007
Removes the specified strokes from the ink analyzer.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Sub RemoveStrokes ( _
strokeIds As Integer() _
)
'Применение
Dim instance As InkAnalyzerBase
Dim strokeIds As Integer()
instance.RemoveStrokes(strokeIds)
public void RemoveStrokes(
int[] strokeIds
)
public:
void RemoveStrokes(
array<int>^ strokeIds
)
public void RemoveStrokes(
int[] strokeIds
)
public function RemoveStrokes(
strokeIds : int[]
)
Параметры
- strokeIds
Тип: array<System.Int32[]
An array containing the stroke identifiers of the strokes to remove.
Заметки
This method removes the packet data for and references to the specified strokes from the InkAnalyzerBase.
This method removes the strokes from the leaf context nodes that reference the strokes. If any ink leaf context node no longer references any strokes, this method deletes the context node and any ancestor nodes that no longer have any child nodes.
After this method removes the strokes from the context nodes, it updates the ink analyzer's DirtyRegion to include the bounding box of the removed strokes.
If a stroke identified in strokeIds is not associated with the ink analyzer, this method ignores the identifier.
If none of the strokes identified in strokeIds identify a stroke associated with the ink analyzer, this method returns without updating the ink analyzer.
This method throws a System.ArgumentNullException when strokeIds is nullссылка null (Nothing в Visual Basic).
Примеры
The following example removes all strokes from the InkAnalyzerBase, theInkAnalyzerBase.
'Remove all strokes from the ink analyzer.
theInkAnalyzerBase.RemoveStrokes(theInkAnalyzerBase.RootNode.GetStrokeIds())
//Remove all strokes from the ink analyzer.
theInkAnalyzerBase.RemoveStrokes(
theInkAnalyzerBase.RootNode.GetStrokeIds());
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0