You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @RichardBray! Thanks for the well written and concise question 🙂. I'm not sure how to do this offhand, but I would like to support this type of thing with a higher level API. I've added it to the roadmap for tracking: #998.
If you're still interested in this and would like to dig in yourself, you can check section 12.6.4.2 Go-To Actions of the PDF spec.
I really enjoy using this library, one of the best for PDFs in Javascript out there.
I have a bit of an obscure request. I have created a PDF with attachments but I don't know how to create a link to an attachment in that PDF.
I know it's possible with Acrobat Reader DC and I've actually done it before.
And I know there is a way in pdf-lib to create an internal link to pages, but I don't know how to do it for attachments.
Here is the code I've come up with so far:
The link is visible, it just doesn't open an attachment.
The text was updated successfully, but these errors were encountered: