PdfDocumentSignerAppendSignaturesFinal Method |
This method will sign, in turn, the provided collection of
PdfDocumentSignature then
append all changes to the PDF document. After calling this method, this object is considered dead and can no longer
be used for appending more changes or appending signatures. Further changes require
constructing a new PdfDocumentSignerObject.
Namespace:
Atalasoft.PdfDoc.DigitalSignatures
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic void AppendSignaturesFinal(
bool closeStream,
ICollection<PdfDocumentSignature> signatures
)
Public Sub AppendSignaturesFinal (
closeStream As Boolean,
signatures As ICollection(Of PdfDocumentSignature)
)
Parameters
- closeStream
- Type: SystemBoolean
if set to true close the stream containing the PDF upon completion. - signatures
- Type: System.Collections.GenericICollectionPdfDocumentSignature
The signatures.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | signatures |
| ArgumentException | signatures |
Remarks
Each
PdfDocumentSignature object must contain an
unsignedSignatureWidgetAnnotation which is also
contained in both the
PagesOfAnnotations collection as well as the
Form.
Each signature will be checked for validity, will have an appearance applied to it (if requested),
and, the signature applied and finally any fields that are required to be locked will be locked.
See Also