StrokeCollection::Add Method (StrokeCollection^)
.NET Framework (current version)
Adds the specified strokes to the StrokeCollection.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- strokes
-
Type:
System.Windows.Ink::StrokeCollection^
The StrokeCollection to add to the collection.
| Exception | Condition |
|---|---|
| ArgumentException | A Stroke in strokes is already a member of the StrokeCollection. |
| ArgumentNullException | strokes is null. |
The Add method raises the StrokesChanged event.
.NET Framework
Available since 3.0
Available since 3.0
Show: