Click or drag to resize

PdfPageCropPage Method

Crops this page in the currently loaded document

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

Parameters

left
Type: SystemInt32
The number of pixels to crop out on the left side of this page.
right
Type: SystemInt32
The number of pixels to crop out on the right side of this page.
top
Type: SystemInt32
The number of pixels to crop out on the top of this page.
bottom
Type: SystemInt32
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