Skip to main content

XlEncryptionOptions.Password Property

Specifies the password to open the file.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

#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
TreeListXlExportOptions
.EncryptionOptions .Password

#Remarks

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

See Also