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

TdxPDFSecurityOptions.Algorithm Property

Specifies the active document encryption algorithm.

#Declaration

Delphi
property Algorithm: TdxPDFEncryptionAlgorithmType read; write;

#Property Value

Type Description
TdxPDFEncryptionAlgorithmType

Enumerates types of algorithms used to encrypt PDF documents.

#Remarks

Use this property to switch between available document encryption algorithms. Refer to the TdxPDFEncryptionAlgorithmType type description for detailed information on available algorithms.

Important

The current implementation of the PDF document‘s SaveToFile and SaveToStream procedures cannot use the AES encryption algorithm to protect saved documents and raises the EdxPDFEncryptionException exception if the Algorithm property is set to eatAES and the Enabled property is set to True. The LoadFromFile and LoadFromStream procedures can load documents encrypted with the AES algorithm.

The Algorithm property’s default value is eatRC128Bit.

See Also