BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hi,
I would like to know if there is any way to know where the user clicks on a pdf using the Syncfusion PDF Viewer to later be able to add forms on the site chosen by a user.
Thanks in advance.
Hi Vasugi,
I would need to know where a user has clicked (their coordinates for example) on a pdf page. I have found the PageClick event but I don't know if I could somehow know the position that the user has clicked.
Thanks in advance.
$("#pdfviewer").ejPdfViewer({ serviceUrl: 'https://js.syncfusion.com/ejServices/api/PdfViewer', pageClick:"pageClick"});
function pageClick(evt) {
console.log(evt);
console.log(evt.XCoordinate);
console.log(evt.YCoordinate);
}
|
Hi Vasugi,
Thank you very much, it was what I wanted.
Regards.