PdfBoxType enum

The five page boxes defined by the PDF specification.

The declaration order follows the usual containment: /ArtBox, /TrimBox and /BleedBox sit inside /CropBox, which sits inside /MediaBox.

Inheritance
Available extensions

Values

media → const PdfBoxType

/MediaBox — the physical medium. It is the only mandatory box.

const PdfBoxType(PdfNameTokens.mediaBox)
crop → const PdfBoxType

/CropBox — the visible region. When absent, /MediaBox applies.

const PdfBoxType(PdfNameTokens.cropbox)
bleed → const PdfBoxType

/BleedBox — the bleed region for print production.

const PdfBoxType(PdfNameTokens.bleedBox)
trim → const PdfBoxType

/TrimBox — the region of the paper once trimmed.

const PdfBoxType(PdfNameTokens.trimBox)
art → const PdfBoxType

/ArtBox — the region of meaningful content.

const PdfBoxType(PdfNameTokens.artBox)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
key → String
Key name in the page dictionary, including the leading slash.
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<PdfBoxType>
A constant List of the values in this enum, in order of their declaration.