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?
readonlyoptionalannotationRefs: readonlyPdfRef[]
Defined in: src/core/pdfCatalog.ts:145
Optional annotation indirect references.
artBox?
readonlyoptionalartBox: readonly [number,number,number,number]
Defined in: src/core/pdfCatalog.ts:141
Optional art box [llx, lly, urx, ury].
bleedBox?
readonlyoptionalbleedBox: readonly [number,number,number,number]
Defined in: src/core/pdfCatalog.ts:139
Optional bleed box [llx, lly, urx, ury].
contentStreamRefs
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?
readonlyoptionalcropBox: readonly [number,number,number,number]
Defined in: src/core/pdfCatalog.ts:137
Optional crop box [llx, lly, urx, ury].
height
readonlyheight:number
Defined in: src/core/pdfCatalog.ts:124
Height of the page (points).
mediaBox?
readonlyoptionalmediaBox: readonly [number,number,number,number]
Defined in: src/core/pdfCatalog.ts:120
Full media box [llx, lly, urx, ury].
pageRef
readonlypageRef:PdfRef
Defined in: src/core/pdfCatalog.ts:118
Indirect reference for this page object.
resources
readonlyresources:PdfDict
Defined in: src/core/pdfCatalog.ts:133
Resources dictionary (fonts, images, etc.).
rotation?
readonlyoptionalrotation:number
Defined in: src/core/pdfCatalog.ts:135
Optional rotation in degrees (0, 90, 180, 270).
trimBox?
readonlyoptionaltrimBox: readonly [number,number,number,number]
Defined in: src/core/pdfCatalog.ts:143
Optional trim box [llx, lly, urx, ury].
width
readonlywidth:number
Defined in: src/core/pdfCatalog.ts:122
Width of the page (points).