Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141589 | Dec 19,2018 01:54 PM UTC | Dec 20,2018 11:05 AM UTC | WinForms | 1 |
![]() |
Tags: PDF |
PdfLoadedDocument document = new PdfLoadedDocument("../../data/Input.pdf");
PdfLoadedPage page = document.Pages[0] as PdfLoadedPage;
//Creates a signature field.
PdfSignatureField signatureField = new PdfSignatureField(page, "SignatureField");
signatureField.Bounds = new RectangleF(0, 0, 100, 100);
signatureField.Signature = new PdfSignature(document, page, new PdfCertificate(@"../../data/PDF.pfx", "syncfusion"), "SignatureField");
signatureField.Signature.Reason = "I am author of this document";
signatureField.Signature.DocumentPermissions = PdfCertificationFlags.AllowComments | PdfCertificationFlags.AllowFormFill | PdfCertificationFlags.ForbidChanges;
document.Save();
//Closes the document
document.Close(true);
|
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.
This page will automatically be redirected to the sign-in page in 10 seconds.