Skip to main content

TdxPDFSignatureOptions.IsDocumentSigned Method

Identifies if a PDF document has a digital signature.

Declaration

function IsDocumentSigned: Boolean;

Returns

Type Description
Boolean

True if a PDF document has at least one digital signature; otherwise, False.

Remarks

A PDF document container’s SaveToFile and SaveToStream procedures cannot save the document with multiple digital signatures or preserve a loaded signature. These procedures raise EdxPDFException with the following message: “The document has a digital signature and cannot be saved. To remove the signature and save the document, call the method again and pass True as the AAllowSignatureRemvoal parameter.” Follow the message to avoid this exception and save the document without imported digital signatures.

See Also