Hi,
We are trying to create a tool which allows our users to draw rectangles and other shapes within the viewer control. How do we capture mouse events and x,y co-ordinates within the viewer area? How can we draw shapes within the viewer area?
Agnel
Viewer mouse events and drawing inside the viewer
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 9
- Joined: Thu Jan 09, 2014 12:03 pm
-
- Site Admin
- Posts: 19868
- Joined: Mon Jan 12, 2009 8:07 am
Re: Viewer mouse events and drawing inside the viewer
Hello Agnel,
Please take a look here:
https://help.pdf-xchange.com/DEV/de ... ilterflags
For the mouse notifications.
And for drawing shapes via code - you can use JS:
https://help.pdf-xchange.com/DEV/de ... xactphrase
Regards,
Stefan
Please take a look here:
https://help.pdf-xchange.com/DEV/de ... ilterflags
For the mouse notifications.
And for drawing shapes via code - you can use JS:
https://help.pdf-xchange.com/DEV/de ... xactphrase
Regards,
Stefan