There are three overloads for each one (six total): # a. Call either CertifyOnNextSave or SignOnNextSave. # If you want it to be visible, provide a Rect argument with a non-zero width or height, and don't set the # NoView and Hidden flags. #Ē.Ĝreate a signature widget annotation, and pass the DigitalSignatureField that you just created or found. # -OR- # (b) If you didn't just create the digital signature field that you want to sign/certify, find the existing one within the # document by using PDFDoc.DigitalSignatureFieldIterator or by using PDFDoc.GetField to get it by its fully qualified name. #đ.ĞITHER: # (a) Call doc.CreateDigitalSignatureField, optionally providing a name. Start with a PDF with or without form fields in it that one would like to lock (or, one can add a field, see (1)). # The following steps reflect typical intended usage of the digital signatures API: #Đ. #- #- # This sample demonstrates the basic usage of the high-level digital signatures API in PDFNet. # Consult LICENSE.txt regarding license information. #!/usr/bin/python #- # Copyright (c) 2001-2021 by PDFTron Systems Inc.
0 Comments
Leave a Reply. |