Jonathon Cramer

Results 2 comments of Jonathon Cramer

> Thanks for the info! Is there another way you'd recommend gaining access to a react-pdf/renderer component's page number? (outside of bookmarks)

I was able to accomplish this by using the addAnnot function: const createPageLinkAnnotation = ( pdfDoc: PDFDocument, pageRef: PDFRef, anchorBounds: [number, number, number, number], ) => pdfDoc.context.register( pdfDoc.context.obj({ Type: 'Annot',...