Free Support Forum - groupdocs.com

Java Annotation tools - extending the Tools


#1

Hello,


just wonder if we have there is a possibility to extend the annotation tools (tools on the left panel) to add pan function like adobe reader,

we would like to have an option when user grab the page had the functionality to move around the page.

Thank you in advance
Pezhman

#2
Hello,

Thank you for your inquiry.

Unfortunately, the current version of the GroupDocs.Annotation for Java library doesn't support the functional, for extension of the annotation tools . But at the moment our Product team works on the new generation of this library and if this will be possible we will add such feature.

Also you can independently extend this tool via JavaScript code , but in this case you will need to implement all events for this functionality.

If you will have more questions please feel free to contact us.


----------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#3

Hello Evgen,


thank you for your reply, I just wonder if you have any sample code that shows how we can extend the tools? in this way at least I have something to start with !

Best reagards
Pezhman

#4
Hello Pezhman,

Unfortunately, no, we don't have such code example . As we understand your use case, you should do next:

- via JS code add new (your) button to the annotation tool
- add JS event to this button (for example "onclick")
- add your functionality that you need for this event.

If you will have more questions please feel free to contact us.

----------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+