XlEncryptionOptions.Type Property

Specifies the applied encryption mechanism.

Namespace: DevExpress.XtraPrinting

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

Declaration

[DefaultValue(XlEncryptionType.Strong)]
public XlEncryptionType Type { get; set; }
<DefaultValue(XlEncryptionType.Strong)>
Public Property Type As XlEncryptionType

Property Value

Type Default Description
XlEncryptionType

Strong

An XlEncryptionType enumeration value, specifying the encryption mechanism.

Property Paths

You can access this nested property as listed below:

Show 33 property paths
Library Object Type Path to Type
Cross-Platform Class Library RemotePrintingSystem
RemotePrintingSystem
PivotXlsExportOptionsBase
PivotXlsxExportOptionsBase
ExportOptions
ExportOptions
PrintingSystemBase
PrintingSystemBase
XlExportOptionsBase
XlsExportOptions
XlsExportOptionsEx
XlsxExportOptions
XlsxExportOptionsEx
WinForms Controls PivotXlsExportOptions
PivotXlsxExportOptions
PrintingSystem
PrintingSystem
XtraSchedulerReport
XtraSchedulerReport
WPF Controls PivotGridXlsExportOptions
PivotGridXlsxExportOptions
ExportOptionsContainer
ExportOptionsContainer
PrintingSystem
PrintingSystem
PrintingSystem
PrintingSystem
ASP.NET Controls and MVC Extensions PivotXlsExportOptions
PivotXlsxExportOptions
Reporting XtraReport
XtraReport
DocumentOperationRequest
DocumentOperationRequest

Remarks

The encryption types listed in the XlEncryptionType enumeration are only applicable to XLSX files.

XLS files support only RC4 encryption (except for RC4CryptoAPI) and the Type property is ignored for such files.

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

See Also