XlExportOptionsBase.EncryptionOptions Property

Provides access to the XLS and XLSX file encryption options.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

public XlEncryptionOptions EncryptionOptions { get; }
Public ReadOnly Property EncryptionOptions As XlEncryptionOptions

Property Value

Type Description
XlEncryptionOptions

An XlEncryptionOptions object.

Property Paths

You can access this nested property as listed below:

Show 24 property paths
Library Object Type Path to EncryptionOptions
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Xls.EncryptionOptions
RemotePrintingSystem
.ExportOptions.Xlsx.EncryptionOptions
ExportOptions
.Xls.EncryptionOptions
ExportOptions
.Xlsx.EncryptionOptions
PrintingSystemBase
.ExportOptions.Xls.EncryptionOptions
PrintingSystemBase
.ExportOptions.Xlsx.EncryptionOptions
WinForms Controls PrintingSystem
.ExportOptions.Xls.EncryptionOptions
PrintingSystem
.ExportOptions.Xlsx.EncryptionOptions
XtraSchedulerReport
.ExportOptions.Xls.EncryptionOptions
XtraSchedulerReport
.ExportOptions.Xlsx.EncryptionOptions
WPF Controls ExportOptionsContainer
.Xls.EncryptionOptions
ExportOptionsContainer
.Xlsx.EncryptionOptions
PrintingSystem
.ExportOptions.Xls.EncryptionOptions
PrintingSystem
.ExportOptions.Xls.EncryptionOptions
PrintingSystem
.ExportOptions.Xlsx.EncryptionOptions
PrintingSystem
.ExportOptions.Xlsx.EncryptionOptions
Reporting XtraReport
.ExportOptions.Xls.EncryptionOptions
XtraReport
.ExportOptions.Xlsx.EncryptionOptions
DocumentOperationRequest
.ExportOptions.Xls.EncryptionOptions
DocumentOperationRequest
.ExportOptions.Xlsx.EncryptionOptions
Silverlight Controls PrintingSystem
.ExportOptions.Xls.EncryptionOptions
PrintingSystem
.ExportOptions.Xls.EncryptionOptions
PrintingSystem
.ExportOptions.Xlsx.EncryptionOptions
PrintingSystem
.ExportOptions.Xlsx.EncryptionOptions

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