PdfPageDimensions.MediaBox Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the size of a rectangle that defines the boundaries of the area that the Portable Document Format (PDF) page will be displayed or printed to.
public:
property Rect MediaBox { Rect get(); };
Rect MediaBox();
public Rect MediaBox { get; }
var rect = pdfPageDimensions.mediaBox;
Public ReadOnly Property MediaBox As Rect
Property Value
The size of the Portable Document Format (PDF) page's display or print boundaries.