Create a custom annotation after a simple click

171 views
Skip to first unread message

Laurent Biancardini

unread,
Jan 19, 2017, 1:18:34 PM1/19/17
to PDFTron WebViewer
I'm trying to add a custom annotation after a single click (mouse left) and not a drag and release event.

In the "custom annotation tutorial", it explains how to add a custom annotation after dragging down the mouse from point A to point B. Indeed you are using the "GenericAnnotationCreateTool" which requires 2 mouse points.

I would like to do the same but with one single click, for instance with a predefined Triangle (or rectangle).

Thank you in advance for your help.


Justin Jung

unread,
Jan 20, 2017, 3:08:36 PM1/20/17
to PDFTron WebViewer
Hello,

Please refer to this post to create a custom annotation with a single click.

Justin Jung
Software Developer
PDFTron Systems Inc.

Laurent Biancardini

unread,
Jan 23, 2017, 12:12:16 PM1/23/17
to PDFTron WebViewer
Perfect.

Thank you Justin.

Laurent Biancardini

unread,
Jan 23, 2017, 12:12:16 PM1/23/17
to PDFTron WebViewer
Perfect.

Thank you Justin.
Reply all
Reply to author
Forward
0 new messages