Class MediaBox
The boundary of the physical medium to display or print on.
public class MediaBox
- Inheritance
-
MediaBox
- Inherited Members
Remarks
See table 3.27 from the PDF specification version 1.7.
Constructors
MediaBox(PdfRectangle?)
Create a new MediaBox.
public MediaBox(PdfRectangle? bounds)
Parameters
bounds
PdfRectangle?
Fields
A0
A MediaBox the size of A0 Paper.
public static readonly MediaBox A0
Field Value
A1
A MediaBox the size of A1 Paper.
public static readonly MediaBox A1
Field Value
A2
A MediaBox the size of A2 Paper.
public static readonly MediaBox A2
Field Value
A3
A MediaBox the size of A3 Paper.
public static readonly MediaBox A3
Field Value
A4
A MediaBox the size of A4 Paper.
public static readonly MediaBox A4
Field Value
A5
A MediaBox the size of A5 Paper.
public static readonly MediaBox A5
Field Value
A6
A MediaBox the size of A6 Paper.
public static readonly MediaBox A6
Field Value
Legal
A MediaBox the size of U.S. Legal, 8.5" x 14" Paper.
public static readonly MediaBox Legal
Field Value
Letter
A MediaBox the size of U.S. Letter, 8.5" x 11" Paper.
public static readonly MediaBox Letter
Field Value
Properties
Bounds
A rectangle, expressed in default user space units, that defines the boundaries of the physical medium on which the page shall be displayed or printed.
public PdfRectangle Bounds { get; }