Skip to main content

EdxPDFException Class

The exception class for general PDF document errors.

Declaration

EdxPDFException = class(
    EdxException
)

Remarks

General errors mostly occur during document load and save operations. For instance, this exception is raised when:

  • A PDF document container’s SaveToFile or SaveToStream procedure attempts to save a document with imported digital signatures. The message box shows 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 AAllowSignatureRemoval parameter.”

  • A PDF load routine fails to recognize the target document’s format as PDF.

  • A PDF document container’s SaveToFile or SaveToStream procedure fails to apply a digital signature to the target document if the signature has no loaded X.509 certificate, or lacks contact information, the signer’s location, or a reason to sign the document.

Inheritance

See Also