Crops this page in the currently loaded document
Namespace:
RadPdf.Data.Document.Pages
Assembly:
RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax public void CropPage(
int left,
int right,
int top,
int bottom
)
Public Sub CropPage (
left As Integer,
right As Integer,
top As Integer,
bottom As Integer
)
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