Click or drag to resize

PdfiumFPDFPage_SetTrimBox Method

Set "TrimBox" entry to the page dictionary.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static void FPDFPage_SetTrimBox(
	IntPtr page,
	float left,
	float bottom,
	float right,
	float 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.
Remarks
A rectangle, expressed in default user space units, defining the intended dimensions of the finished page after trimming. Default value: the value of CropBox.
See Also