-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing FreeText annotation #385
Comments
Can you write a Test in a fork and send it? Or add the file here |
I'm sorry, It seems it was caused by already corrupted pdf, as I played with the library and learnt. |
Im currently not aware of a simple way. But If you start implenting one or send me some Sample Code IT would be of great use. |
In my case I need to include one annot only on the first page of invoice pdf, so I thought it will be easier to remove annotations completely and create a new instead of modifying it. But at the end I managed to modify it based on the lib/recipe/annotation.js file. When I'm thinking about deleteAnnotations function, I'm not sure what should be the parameter for annotation identification. ObjectID or array index, or annotation text? Here is I believe working function example. `
} |
Hello,
I created FreeText annotation, but now I need to edit it or remove it. In pdf-lib I used to do it via array of annotations, but don't know how to do it in muhammarajs.
I ended up with this piece of code, where I take existing annotation and try to edit it.
Unfortunately, mentioned code is executed, by when I open PDF file, annotation is not visible, but I think it's there but I changed someting incorrectly.
Any ideas?
Thanks a lot.
The text was updated successfully, but these errors were encountered: