Adds the specified strokes to the StrokeCollection.
public void Add(
The StrokeCollection to add to the collection.
A Stroke in strokes is already a member of the StrokeCollection.
strokes is null.
The Add method raises the StrokesChanged event.
The following example demonstrates how to copy the ink in one InkCanvas onto another InkCanvas. This example assumes:
There are two InkCanvas objects called inkCanvas1 and inkCanvas2.
The Click event has been connected to the event handler.
// Copy the strokes from one InkCanvas to another InkCanvas.
private void CopyStrokes_Click(object sender, RoutedEventArgs e)
StrokeCollection strokes = inkCanvas1.Strokes.Clone();