Skip to main content

XlExportOptionsBase.EncryptionOptions Property

Provides access to the XLS and XLSX file encryption options.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

public XlEncryptionOptions EncryptionOptions { get; }

Property Value

Type Description
XlEncryptionOptions

An XlEncryptionOptions object.

Remarks

XLS files support only ARC4 encryption (except for RC4CryptoAPI) and the XlEncryptionOptions.Type property is only applicable to XLSX files. To learn more, see the following topic in MSDN: Office Document Cryptography Structure.

Important

Excel passwords are saved with report definitions in clear text. Please make sure that only trusted parties have access to report definition files.

To apply encryption, the XlEncryptionOptions.Password property must be specified (the default empty string cannot be used for file encryption).

See Also