AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Dynamic signature recognition java9/17/2023 ![]() Creates a new PDF document PdfDocument document = new PdfDocument () //Adds a new page PdfPageBase page = document. DrawImage ( signatureImage, 0, 0 ) //Saves and closes the document document. Reason = "I am author of this document." //Draws the signature image graphics. ![]() LocationInfo = "Honolulu, Hawaii" signature. ![]() Bounds = new RectangleF ( new PointF ( 0, 0 ), signatureImage. 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.
0 Comments
Read More
Leave a Reply. |