Click or drag to resize
Pdftools logo

PageMediaBox Property

The media box of the page.

The 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 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 may safely be discarded without affecting the meaning of the PDF file.

This property cannot be .


Namespace: PdfTools.FourHeights.PdfToolbox.Pdf
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
Syntax
C#
public Rectangle MediaBox { get; }

Property Value

Rectangle
Exceptions
ExceptionCondition
InvalidOperationExceptionif the page has already been closed
See Also