 | PdfiumFPDFPage_SetTrimBox Method |
Set "TrimBox" entry to the page dictionary.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFPage_SetTrimBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
Public Shared Sub FPDFPage_SetTrimBox (
page As IntPtr,
left As Single,
bottom As Single,
right As Single,
top As Single
)
public:
static void FPDFPage_SetTrimBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
static member FPDFPage_SetTrimBox :
page : IntPtr *
left : float32 *
bottom : float32 *
right : float32 *
top : float32 -> unit
public static void FPDFPage_SetTrimBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
Patagames.Pdf.Pdfium.FPDFPage_SetTrimBox = 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.
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