I want to insert an image and know the coordinates of that image in PDF.
Is it possible?
Is there a way to put image on mouse click position?
Re: Is there a way to put image on mouse click position?
Hi,
There could be different ways to achieve this but I don't think you can do that with a simple mouse click as there's no out-of-the box event handler for this.
You could do that quite easily using the annotations and the selection area though, the idea would be to draw the selection area where the image should appear and implement a custom action that will be called upon the area selected event. Then server side you can add your image at the desired position and get its coordinates.
I would recommend you to read the dedicated tutorials:
- Custom Action: https://www.docuvieware.com/guides/aspn ... tions.html
- Selection area: https://www.docuvieware.com/guides/aspn ... 0Area.html
There could be different ways to achieve this but I don't think you can do that with a simple mouse click as there's no out-of-the box event handler for this.
You could do that quite easily using the annotations and the selection area though, the idea would be to draw the selection area where the image should appear and implement a custom action that will be called upon the area selected event. Then server side you can add your image at the desired position and get its coordinates.
I would recommend you to read the dedicated tutorials:
- Custom Action: https://www.docuvieware.com/guides/aspn ... tions.html
- Selection area: https://www.docuvieware.com/guides/aspn ... 0Area.html
Who is online
Users browsing this forum: No registered users and 1 guest