Click or drag to resize

PdfiumFPDFPage_GetTrimBox Method

Get "TrimBox" entry from the page dictionary.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFPage_GetTrimBox(
	IntPtr page,
	out float left,
	out float bottom,
	out float right,
	out float top
)

Parameters

page  IntPtr
Handle to a page. Returned by FPDF_LoadPage(IntPtr, Int32) function
left  Single
Pointer to a double value receiving the left of the rectangle.
bottom  Single
Pointer to a double value receiving the bottom of the rectangle.
right  Single
Pointer to a double value receiving the right of the rectangle.
top  Single
Pointer to a double value receiving the top of the rectangle.

Return Value

Boolean
True if success, else False
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