 | Pdfium.FPDFPage_SetMediaBox Method |
Set "MediaBox" entry to the page dictionary.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFPage_SetMediaBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
Public Shared Sub FPDFPage_SetMediaBox (
page As IntPtr,
left As Single,
bottom As Single,
right As Single,
top As Single
)
public:
static void FPDFPage_SetMediaBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
static member FPDFPage_SetMediaBox :
page : IntPtr *
left : float32 *
bottom : float32 *
right : float32 *
top : float32 -> unit
public static void FPDFPage_SetMediaBox(
IntPtr page,
float left,
float bottom,
float right,
float top
)
Patagames.Pdf.Pdfium.FPDFPage_SetMediaBox = 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 media box defines the boundaries of the physical medium on which the
page is to be printed. It may include any extended area surrounding the
finished page for bleed, printing marks, or other such purposes. It may also
PDF reference 1.7.pdf SECTION 10.10 Prepress Support 963
include areas close to the edges of the medium that cannot be marked because
of physical limitations of the output device. Content falling outside this boundary
can safely be discarded without affecting the meaning of the PDF file.
See Also