Click or drag to resize

PdfPageObjectMediaBox Property

(Required; inheritable) A rectangle (see 7.9.5, "Rectangles"), expressed in default user space units, that shall define the boundaries of the physical medium on which the page shall be displayed or printed (see 14.11.2, "Page Boundaries").

Value of this property might be if this is an instance of a PdfPages, but it should never be if this is an instance of a PdfPage.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public PdfRectangle MediaBox { get; set; }

Property Value

Type: PdfRectangle
A rectangle, expressed in default user space units, that shall define the boundaries of the physical medium on which the page shall be displayed or printed.
See Also