Skip to content

modern-pdf-lib


modern-pdf-lib / PageEntry

Interface: PageEntry

Defined in: src/core/pdfCatalog.ts:116

Represents a single page's key refs for building the page tree.

Properties

annotationRefs?

readonly optional annotationRefs: readonly PdfRef[]

Defined in: src/core/pdfCatalog.ts:145

Optional annotation indirect references.


artBox?

readonly optional artBox: readonly [number, number, number, number]

Defined in: src/core/pdfCatalog.ts:141

Optional art box [llx, lly, urx, ury].


bleedBox?

readonly optional bleedBox: readonly [number, number, number, number]

Defined in: src/core/pdfCatalog.ts:139

Optional bleed box [llx, lly, urx, ury].


contentStreamRefs

readonly contentStreamRefs: PdfRef | readonly PdfRef[]

Defined in: src/core/pdfCatalog.ts:131

Content stream reference(s).

A single PdfRef for newly created pages, or an array for loaded pages that may have multiple content streams (or original + appended).


cropBox?

readonly optional cropBox: readonly [number, number, number, number]

Defined in: src/core/pdfCatalog.ts:137

Optional crop box [llx, lly, urx, ury].


height

readonly height: number

Defined in: src/core/pdfCatalog.ts:124

Height of the page (points).


mediaBox?

readonly optional mediaBox: readonly [number, number, number, number]

Defined in: src/core/pdfCatalog.ts:120

Full media box [llx, lly, urx, ury].


pageRef

readonly pageRef: PdfRef

Defined in: src/core/pdfCatalog.ts:118

Indirect reference for this page object.


resources

readonly resources: PdfDict

Defined in: src/core/pdfCatalog.ts:133

Resources dictionary (fonts, images, etc.).


rotation?

readonly optional rotation: number

Defined in: src/core/pdfCatalog.ts:135

Optional rotation in degrees (0, 90, 180, 270).


trimBox?

readonly optional trimBox: readonly [number, number, number, number]

Defined in: src/core/pdfCatalog.ts:143

Optional trim box [llx, lly, urx, ury].


width

readonly width: number

Defined in: src/core/pdfCatalog.ts:122

Width of the page (points).

Released under the MIT License.