The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
StrokeCollection::Clip Method (Rect)
.NET Framework (current version)
Replaces all strokes that are clipped by the specified rectangle with new strokes that do not extend beyond the specified rectangle.
Assembly: PresentationCore (in PresentationCore.dll)
All strokes that are entirely outside the specified rectangle are removed.
The following example demonstrates how to erase the ink that is outside the bounds of a Rect. This example assumes that there is an InkPresenter called presenter.
.NET Framework
Available since 3.0
Available since 3.0
Show: