Hi,
Hi Joel,
Thanks for using our products.
You can set the signature appearance using Aspose.Pdf. Please visit the following documentation links for more details ablout Signatures in PDF documents and check if it fits your need.
- Add Digital Signature in a PDF File (Facades)
- Working with Security and Signatures
- Working with Security and Signatures (Facades)
Moreover, if you still facing some issue kindly provide the sample document which shows the exact result you required.
Please feel free to contact support in case you need any further assistance.
Thanks & Regards,
Hi Rashid,
Hello Joel,
Thanks for using our products.
Aspose.Words and Aspose.Pdf are both separate products and both have their own mechanism of generating PDF files and working with its objects. So there can be a case that these products have different appraoches while applying the signatues. Nevertheless, can you please share the issue that you are facing when signature is applied using Aspose.Pdf. We are really sorry for this inconvenience.
This is the issue. We have been signing documents with Aspose.Words and our users are accustomed to the blue signature bar appearing in Adobe Reader when they view them. Now we’re signing with Aspose.PDF and our users don’t think the PDFs are signed (even though they are) because Reader doesn’t display this blue signature bar.
Hello Joel,
Hi,
Hello Joel,
Hello Joel,
Thanks for your patience.
We are glad to inform you that MDP signature is supported now in Aspose.Pdf for .NET 17.9. Please download latest version of the API from shared link and use following code snippet to certify the document as per your requirement.
const string myDir = @"c:\";
//create PdfFileSignature object and bind input and output PDF
PdfFileSignature pdfSign = new PdfFileSignature(new Document(myDir + "test2_6_6_0.pdf"));
//create a rectangle for signature location
System.Drawing.Rectangle rect = new System.Drawing.Rectangle(100, 100, 200, 100);
//set signature appearance
pdfSign.SignatureAppearance = myDir + "Aspose.jpg";
//create any of the three signature types
PKCS1 signature = new PKCS1(myDir + "VirtualCabinetPortal.pfx", "password"); // PKCS#1 or
DocMDPSignature sig = new DocMDPSignature(signature, DocMDPAccessPermissions.FillingInForms);
pdfSign.Certify(1, "Signature Reason", "Contact", "Location", true, rect, sig);
//save output PDF file
pdfSign.Save(myDir + "test2_6_6_0-output.pdf");
In case of any further query, please feel free to let us know.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan