We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add other signature to document

Thread ID:

Created:

Updated:

Platform:

Replies:

132060 Aug 10,2017 01:23 PM UTC Aug 16,2017 05:18 AM UTC ASP.NET Web Forms (Classic) 5
loading
Tags: PDF
Jordi Burgas
Asked On August 10, 2017 01:23 PM UTC

Hi,

This is my scenario,

Hi received one pdf document signed digitally via mail and i would like to sign this document - múltiple signature scenario. It is posible?

Your examples show how to sign múltiple at same time in memory  - generate new document and seqüentialy you add two fields of signature,

but i need to sign one document signed and saved to disk previously as Workflow Signature scenario.

Thanks in advance,

Jordi

Chinnu Muniyappan [Syncfusion]
Replied On August 11, 2017 12:11 PM UTC

Hi Jordi, 

Thank you for contacting Syncfusion support. 

Yes, we can add multiple signatures in existing PDF document by using PdfCertificate and PdfSignature instance.  We have created a simple sample for signing existing signed PDF document for your reference.  Please refer the below code snippet and sample for more details. 

            //Load the existing PDF document 
            PdfLoadedDocument ldoc = new PdfLoadedDocument("../../input.pdf"); 
 
            //Creates PDF Certificate. 
            PdfCertificate pdfCert = new PdfCertificate(@"../../PDF.pfx", "syncfusion"); 
 
            //Create a new PDF signature field. 
            PdfSignature signature = new PdfSignature(ldoc, ldoc.Pages[0], pdfCert, "cert"); 
            
            //Set the signature bounds 
            signature.Bounds = new System.Drawing.RectangleF(0, 200, 100, 100);            
 
            //Save the PDF document 
            ldoc.Save("output.pdf"); 
 
            //Close the PDF document 
            ldoc.Close(true); 


Note: If the PDF document is already signed then the signed certificate must allow the document to perform form fill, signing and commenting, otherwise the existing signature was failed. 

Please let us know if you have any concern. 

Regards, 
Chinnu 


Jordi Burgas
Replied On August 14, 2017 06:01 AM UTC

Hi Chinnu,


Perfect! this is the right example!

Is it possible to sign the document even though the first user has not allowed signnin?

In our case we want to sign all the external documents we receive to authenticate them

Thanks!

Jordi


Chinnu Muniyappan [Syncfusion]
Replied On August 15, 2017 07:44 AM UTC

Hi Jordi, 
 
Thank you for your update, 
 
Yes, we can sign the existing signed PDF document even though the first user has not allowed to sign, but the first user signed signature status is getting invalid. Please refer the below screenshot for more details. 
 
 
Please let us know if you have any concern. 
 
Regards, 
Chinnu 


Jordi Burgas
Replied On August 15, 2017 08:57 AM UTC

Hi Chinnu,

This is perfect ! thanks  for your support and for your great, great syncfusions products.

best regards,

Jordi


Chinnu Muniyappan [Syncfusion]
Replied On August 16, 2017 05:18 AM UTC

Hi Jordi, 
 
Thank you for your kind words. 
 
Regards, 
Chinnu 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;