Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EdxPDFException Class

The exception class for general PDF document errors.

#Declaration

Delphi
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