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

EdxPDFEncryptionException Class

The exception class for PDF document encryption errors.

#Declaration

Delphi
EdxPDFEncryptionException = class(
    EdxPDFException
)

#Remarks

This exception is raised if an error occurs during document encryption or decryption. For instance, a EdxPDFEncryptionException error occurs when:

  • An end user fails the last attempt to enter a user or owner password to open an encrypted document.

  • A document save routine attempts to encrypt the document with an unsupported algorithm. For instance, a PDF document container’s SaveToFile or SaveToStream procedure call results in an EdxPDFEncryptionException error if the SecurityOptions.Enabled property is set to True, and the SecurityOptions.Algorithm property is set to eatAES. The message box shows the following message: “The AES algorithm is not supported for file encryption”.

#Inheritance

See Also