Exposing the SignaturePad Events in PDFViewer

Hi,

Is there a way to access the event that is triggered when the user presses "Done" on the signature pad dialog in the PDFViewer control? I would like to save the pdf after the user is done signing on the signature pad and presses Done.

Kind regards,
Matej

5 Replies 1 reply marked as answer

MK Muralitharan Karikalan Syncfusion Team March 3, 2021 01:46 PM UTC

Hi Matej, 
 
While adding the handwritten signature the InkAdded event will be triggered. Please refer the code snippet below, 
 
    pdfViewer.InkAdded += PdfViewer_InkAdded; 
 
   private void PdfViewer_InkAdded(object sender, InkAddedEventArgs args) 
        { 
            if (sender is HandwrittenSignature) 
            { 
                 
            }           
        } 
 
Kindly let us know if you need any further assistance on this. 
 
Regards, 
Muralitharan K  


Marked as answer

UN Unknown Syncfusion Team March 3, 2021 03:08 PM UTC

Hi,

Thank you for the information, works great!

Kind regards,
Matej


MK Muralitharan Karikalan Syncfusion Team March 4, 2021 06:22 AM UTC

Hi Matej, 
 
Thanks for your confirmation. Please feel free to contact us in case of any further assistance on this. 
 
Regards, 
Muralitharan K 



JB Johnny Boy replied to Muralitharan Karikalan June 23, 2021 02:16 PM UTC

Hi, is there way to intercept 'Clear' button event? We need som cusotm logic for that case



MK Muralitharan Karikalan Syncfusion Team June 24, 2021 11:40 AM UTC

Hi Johnny,  
   
Greetings from Syncfusion support,  
   
Currently we do not have the support for an event while clicking the clear button in the signature pad. Could please provide us more details about the purpose of an event while clearing the signature in the signature pad and the use case scenario to understand your requirement and help you with better solution.  
   
Regards,  
Muralitharan K  


Loader.
Up arrow icon