Click or drag to resize

PdfPage.CropPage Method

Crops this page in the currently loaded document

Namespace:  RadPdf.Data.Document.Pages
Assembly:  RadPdf (in RadPdf.dll) Version: 4.2.0.0 (4.2.0.0)
Syntax
public void CropPage(
	int left,
	int right,
	int top,
	int bottom
)

Parameters

left
Type: System.Int32
The number of pixels to crop out on the left side of this page.
right
Type: System.Int32
The number of pixels to crop out on the right side of this page.
top
Type: System.Int32
The number of pixels to crop out on the top of this page.
bottom
Type: System.Int32
The number of pixels to crop out on the bottom of this page.
Remarks

This page is cropped from the original edges of the pages (defined by CropBoxOriginal) inward. That is, if CropPage(100, 100, 100, 100) is called and then CropPage(50, 50, 50, 50) is called, it is as if only CropPage(50, 50, 50, 50) was called. The two operations are not additive.

See Also
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!