MCPcopy Create free account
hub / github.com/LibPDF-js/core / getObject

Method getObject

src/api/pdf.ts:1545–1547  ·  view source on GitHub ↗

* Get an object by reference. * * Objects are cached and tracked for modifications.

(ref: PdfRef)

Source from the content-addressed store, hash-verified

1543 * Objects are cached and tracked for modifications.
1544 */
1545 getObject(ref: PdfRef): PdfObject | null {
1546 return this.ctx.resolve(ref);
1547 }
1548
1549 /**
1550 * Get the document catalog dictionary.

Callers 1

copyPagesFromMethod · 0.95

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected