.Erase Method (IEnumerable <Point >, StylusShape)
Replaces all strokes that are clipped by the region created by the specified
along the specified path with new Strokes that are not clipped by the region. StylusShape
public void Erase(
The following example demonstrates how to erase ink along a specific path. This example assumes that there is an
called InkPresenter presenter.
// Erase the ink that intersects the lasso.
public void ErasePath(Stroke lasso)
EllipseStylusShape eraserTip = new EllipseStylusShape(5, 5);
Point strokePoints = (Point)lasso.StylusPoints;
Supported in: 4.6, 4.5, 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
( 1500 characters remaining)
Thank you for your feedback