WFP pad handwritten-signature not shown

Good evening,

I am currently working on a project  WPF which shows a PDF form with a signature field but the handwritten signature pad is not displayed.

Greetings



5 Replies

US Uthandaraja Selva Sundara Kani Syncfusion Team April 9, 2020 10:59 AM UTC

Hi Miguel, 
 
Thanks for contacting Syncfusion support. 
 
On further analysis, we suspect that the loaded PDF document contains a digital signature field. At present, we do not have support to “Display and Add digital signature to the PDF document” in our PdfViewerControl WPF and we have already logged a FR for this. 
 
Meanwhile, please share the PDF document you used. So that, we could analyze more on this and provide you a better solution. 
 
Regards, 
Uthandaraja S 



MA Miguel Angel April 9, 2020 11:15 AM UTC

Good morning,

I attach PDF, the field that is not displayed in PdfViewer is a handwritten signature field.

The text field if displayed.

 

Thanks a lot.

a greeting


Attachment: Sycnfusion_support_c8853ee3.zip


US Uthandaraja Selva Sundara Kani Syncfusion Team April 10, 2020 07:37 AM UTC

Hi Miguel, 
 
Thanks for the shared PDF document. 
 
On analyzed further, we have opened the shared PDF document in Adobe reader and clicked the signature field and we could see that it is digital signature field. Please find the screenshot below for your reference, 
 
 
 
At present, we have provided the support to adding handwritten signature only in WPF PDF viewer and as we mentioned earlier, we do not have support to “Display and Add digital signature to the PDF document” in our PDF viewer control and we do not have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest.  
 
Based on our present commitments and the above parameters, this feature is expected to be implemented in our 2020 Volume 4 main release. We will let you know when this feature is implemented. You can track the status of this feature request here,  
 
 
Disclaimer: The date for the feature implementation is tentative and not a commitment on our parts. 
 
Regards, 
Uthandaraja S 



MA Miguel Angel April 10, 2020 09:40 AM UTC

HELLO, BEFORE ANYTHING THANK YOU VERY MUCH !!

In another application for XAMARIN UWP the same PDF opens the handwritten signature pad, so I expected the same behavior in WPF.

Attachment capture.

regards


Attachment: sync_b1c8e316.zip


DG Deepak Gunasekaran Syncfusion Team April 13, 2020 12:38 PM UTC

Hi Miguel, 

Since we have plans to provide digital signature support in the future, we regret to say that we do not have any plan to implement the Xamarin/UWP behavior in our source level as it may cause breaking behavior changes in the future. 
However, we have options to add a handwritten signature from the code behind. Using the below process, we can achieve your requirement from the sample level. 

1.       Find the signature field bounds and the page index from the PDF document using PdfLoadedSignatureField.  
2.       Using the PageMouseMove event, map the signature bounds in the page. 
3.       Create signature from the sample using ink canvas and convert the stroke collection to System.Windows.Shapes.Path. 
4.       Add the path as handwritten signature from the code behind at the specified page index and position using AddHandwrittenSignature method. 

We have created a sample for the same and it can be downloaded from the below location.  

Please follow the below steps in the sample to add a signature in the signature field area. 
Step 1: Run the sample and load your PDF document  
Step 2: Mouse hover over the signature field area.  
You will get notified with the below cursor change and a tooltip. (In your PDF document, the signature field is available in the bottom of the second page). 

 

Step 2: Click the area, and a signature panel will be opened. 
 
 
Step 3: Add the signature and click Ok. 
Step 4: The signature will be placed in the signature field area. 
 
Step 5: You can later reposition it (if needed) by selecting it. 
 

Note:   
1.       Since it is a public forum, we have attached and initially loaded our PDF document in the sample. However, we have tested your PDF document and took the above screenshots using the same.  
2.       We have created the sample considering a single signature field based on your document. However, you can extend the sample to add multiple signatures in the PDF document if needed in the future. Refer to the code in the below link 

Please let us know if it helps. 

Regards, 
Deepak G 


Loader.
Up arrow icon