Drawing compound lines

WebViewer Version: 8.3.3

Please describe your issue and provide steps to reproduce it:

Hello. Can you Help me please. May I draw compound lines. For example, I want to implement the following functionality: The user holds down the Ctrl + W keys and in this mode starts drawing lines, and at the moment when the first line is drawn and the user releases the mouse, the starting point of the second line, becomes the end point of the first line. And so we draw a long compound line at a time, only once.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi Shatal,

Thank you for contacting WebViewer Support.

Our Polyline tool in the Shapes ToolGroup is able to produce multiple lines starting from the end of last clicked position.

If you would like to customize keys, here is the hotkey API available under UI instance:
https://www.pdftron.com/api/web/UI.Hotkeys.html#key

Best Regards,

Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.
www.pdftron.com

1 Like