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.
Unfortunately, activation email could not send to your email. Please try again.

Add other signature to document

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 08:11 AM

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 02:01 AM

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 03:44 AM

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 04:57 AM

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 01:18 AM

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.

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.

;