Hi there,
Please see this forum post for general implementation details:
You will need to use the mouseMove to position the preview as the cursor moves.
Is it possible to programatically initiate first point click?
If it is on the documentViewer, you can use the mouseLeftUp event:
https://docs.apryse.com/api/web/Core.DocumentViewer.html#event:mouseLeftUp__anchor
For a generic tool, you can use the mouseLeftUp method:
https://docs.apryse.com/api/web/Core.Tools.GenericAnnotationCreateTool.html#mouseLeftUp__anchor
Best regards,
Kevin Kim