Hello,
for the free hand drawing of marker or line annotations they are currently batched after some seconds together till they are combined to an annotation. This time can be changed by using setCreateDelay Apryse WebViewer Class: FreeHandCreateTool
This is now set to a really low value as in our case the PDF is opened by 2 users and the state is synced via the network. If the time is high you don’t see new free hand annotations for a long time. Sure if it is low you get potentially many annotations while drawing.
Therefore I was wondering if it is possible to save/share the state of the current drawing to send it over via the network?
Would be fine if that would be just something temporary which then gets removed as soon as the final annotation gets created. Thought, it would be super cool if the normaly exportAnnotationCommand could fetch the changes while drawing.
Regards
Denis
1 Like
Here there was already a good hint how to do something similar for the input elements Tracking pdf form feilds while editing them - #6 by kkim
1 Like
Hello @denis.trueby,
Thank you for contacting WebViewer support.
We are investigating your issue and will get back to you shortly.
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.
CONFIDENTIALITY NOTICE: This message (and any attachment to it) is intended only for the use of the individual or entity to which it is addressed in the header, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any reproduction, distribution, modification or use of the contents of this message (and any attachment to it) by any individual or entity other than the intended recipient is prohibited. If you have received this communication in error, please notify us immediately and delete the original.
1 Like
Hello @denis.trueby,
After looking into it, implementing the feature you are looking for with the current APIs would be pretty challenging. We don’t currently have APIs to save/share the state of a partial annotation prior to it being created.
Theoretically speaking, you could create a custom freeHand annotation/tool which would accomplish this, but the result would likely be complicated, as drawing and saving of the state would likely have to be custom-made.
I’ve created a feature request for this kind of functionality. We don’t currently have this on our roadmap but, we will add it to the backlog for our product team to review for feasibility and viability.
Let me know if you have any other questions regarding this issue!
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.
1 Like
Thank you for your feedback Jacob!
The feature request is much appreciated.
What we did so far is a new tool which works just like a laser pointer and doesn’t save any state in the PDF. So it is just a temporary highlighting. For now that is okay and as we need some read only feature, we needed that anyway.
Looing forward to the new feature.
Regards
Denis
1 Like