New to Telerik Document ProcessingStart a free 30-day trial

Clipping

Updated on Feb 19, 2026

Clipping is a content element that can be used to define the outline of other content elements like Image and Path.

Creating a Clipping

The Clipping element exposes a single property.

  • Clip: Property of type GeometryBase representing the Geometry that is used to clip the content element.

Example 1 demonstrates how you can create a Clipping element and assign a RectangleGeometry to its Clip property.

Example 1: Create clipping

c#
Clipping clipping = new Clipping();
clipping.Clip = new RectangleGeometry(new Rect(5, 5, 50, 50));

Using Clipping

All inheritors of the ContentElementBase class expose a Clipping property. Setting it clips the respective content element with the specified clipping.

Example 2 demonstrates how to clip an image using the Clipping created in Example 1.

Example 2: Use clipping

c#
Image image = container.Content.AddImage(imageSource);
image.Clipping = clipping;

See Also