XlEncryptionOptions.Type Property

Specifies the applied encryption mechanism.

Namespace: DevExpress.XtraPrinting

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


public XlEncryptionType Type { get; set; }
Public Property Type As XlEncryptionType

Property Value

Type Default Description


An XlEncryptionType enumeration value, specifying the encryption mechanism.


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