modern-pdf-lib / buildCatalog
Function: buildCatalog()
buildCatalog(
pagesRef,registry,options?):PdfRef
Defined in: src/core/pdfCatalog.ts:273
Build the /Catalog dictionary.
Parameters
pagesRef
Indirect reference to the root /Pages node.
registry
Object registry.
options?
Optional catalog-level settings.
Returns
The indirect reference to the /Catalog dict.