![]() Graphics //Creates a certificate instance from PFX file with private key PdfCertificate pdfCert = new PdfCertificate (, "password123" ) //Creates a digital signature PdfSignature signature = new PdfSignature ( document, page, pdfCert, "Signature" ) //Sets an image for signature field PdfBitmap signatureImage = new PdfBitmap ( ) //Sets signature information signature. Add () //Create PDF graphics for the page PdfGraphics graphics = page. Creates a new PDF document PdfDocument document = new PdfDocument () //Adds a new page PdfPageBase page = document.
0 Comments
Leave a Reply. |