Content-Length: 58692 | pFad | http://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/concepts/clipping

PdfProcessing - Clipping - Telerik Document Processing
Available for: UI for ASP.NET MVC | UI for ASP.NET AJAX | UI for Blazor | UI for WPF | UI for WinForms | UI for Silverlight | UI for Xamarin | UI for WinUI | UI for ASP.NET Core | UI for .NET MAUI

New to Telerik Document Processing? Download free 30-day trial

Clipping

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

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

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

See Also

In this article








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/concepts/clipping

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy