 | PdfiumFPDFPage_SetCropBox Method |
Set "CropBox" entry to the page dictionary.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFPage_SetCropBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
Public Shared Sub FPDFPage_SetCropBox (
page As IntPtr,
left As Single,
bottom As Single,
right As Single,
top As Single
)
public:
static void FPDFPage_SetCropBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
static member FPDFPage_SetCropBox :
page : IntPtr *
left : float32 *
bottom : float32 *
right : float32 *
top : float32 -> unit
public static void FPDFPage_SetCropBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
Patagames.Pdf.Pdfium.FPDFPage_SetCropBox = function(page, left, bottom, right, top);
Parameters
- page IntPtr
- Handle to a page. Returned by FPDF_LoadPage(IntPtr, Int32) function
- left Single
- The left of the rectangle.
- bottom Single
- The bottom of the rectangle.
- right Single
- The right of the rectangle.
- top Single
- The top of the rectangle.
RemarksThe crop box defines the region to which the contents of the page are to be
clipped (cropped) when displayed or printed. Unlike the other boxes, the crop
box has no defined meaning in terms of physical page geometry or intended
use; it merely imposes clipping on the page contents. However, in the absence
of additional information (such as imposition instructions specified in a JDF or
PJTF job ticket), the crop box determines how the page’s contents are to be positioned
on the output medium. The default value is the page’s media box.
See
PDF reference 1.7.pdf for more details
See Also