modern-pdf-lib / EmbedPageOptions
Interface: EmbedPageOptions
Defined in: src/core/pdfEmbed.ts:105
Options for embedding a page as a Form XObject.
Properties
boundingBox?
optionalboundingBox:object
Defined in: src/core/pdfEmbed.ts:110
Clip the embedded page to a sub-region (bounding box). Coordinates are in the source page's coordinate system.
height
height:
number
width
width:
number
x
x:
number
y
y:
number
transformationMatrix?
optionaltransformationMatrix: [number,number,number,number,number,number]
Defined in: src/core/pdfEmbed.ts:122
Apply an affine transformation matrix to the Form XObject. The six values correspond to [a, b, c, d, tx, ty] in the standard 3x3 PDF transformation matrix.