How to add custom metadata in existing PDF file in react js application? #1402
shitrerohit
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created the one react js application and installed the pdf-lib library and tried to add custom metadata.
Code-base: React js application
PDF-LIB version: 1.9.1
I am trying to add custom metadata in an existing PDF file using below link code reference.
#55 (comment)
Facing some issues related to importing the variables from package that are below,
Property 'PDFDictionary' does not exist on type 'PDFDocument'.
Cannot find name 'PDFDocumentWriter'.
We expect correct way to add the custom metadata in existing PDF file.
Beta Was this translation helpful? Give feedback.
All reactions