Back to Devexpress

TdxPDFSecurityOptions.Algorithm Property

vcl-dxpdfdocument-dot-tdxpdfsecurityoptions-4b9542ac.md

latest1.8 KB
Original Source

TdxPDFSecurityOptions.Algorithm Property

Specifies the active document encryption algorithm.

Declaration

delphi
property Algorithm: TdxPDFEncryptionAlgorithmType read; write;

Property Value

TypeDescription
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

TdxPDFSecurityOptions Class

TdxPDFSecurityOptions Members

dxPDFDocument Unit