Skip to main content
A newer version of this page is available. .

XlEncryptionOptions.Password Property

Specifies the password to open the file.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design

Declaration

[DefaultValue("")]
public string Password { get; set; }

Property Value

Type Default Description
String String.Empty

A String vaue, specifying the password to open the file. The default is string.Empty.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Password
Cross-Platform Class Library XlExportOptionsBase
.EncryptionOptions .Password
Blazor GridXlExportOptions
.EncryptionOptions .Password

Remarks

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

See Also