StrokeCollection.Replace Method (Stroke, StrokeCollection)
.NET Framework 4.6 and 4.5
PresentationCore (in PresentationCore.dll)
public void Replace(
strokesToReplace is empty.
strokesToReplaceWith is empty.
A Stroke in strokesToReplaceWith is already in strokesToReplace.
The following example demonstrates how to replace the selected strokes on an InkCanvas with another StrokeCollection. This example assumes that there is an InkCanvas called inkCanvas1.
Return to top
Available since 3.0
(1500 characters remaining)
Thank you for your feedback