Table of Contents

Class MediaBox

Namespace
UglyToad.PdfPig.Content
Assembly
UglyToad.PdfPig.dll

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

MediaBox

A1

A MediaBox the size of A1 Paper.

public static readonly MediaBox A1

Field Value

MediaBox

A2

A MediaBox the size of A2 Paper.

public static readonly MediaBox A2

Field Value

MediaBox

A3

A MediaBox the size of A3 Paper.

public static readonly MediaBox A3

Field Value

MediaBox

A4

A MediaBox the size of A4 Paper.

public static readonly MediaBox A4

Field Value

MediaBox

A5

A MediaBox the size of A5 Paper.

public static readonly MediaBox A5

Field Value

MediaBox

A6

A MediaBox the size of A6 Paper.

public static readonly MediaBox A6

Field Value

MediaBox

A MediaBox the size of U.S. Legal, 8.5" x 14" Paper.

public static readonly MediaBox Legal

Field Value

MediaBox

Letter

A MediaBox the size of U.S. Letter, 8.5" x 11" Paper.

public static readonly MediaBox Letter

Field Value

MediaBox

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; }

Property Value

PdfRectangle