Back to Devexpress

XlEncryptionOptions.Password Property

corelibraries-devexpress-dot-xtraprinting-dot-xlencryptionoptions.md

latest2.2 KB
Original Source

XlEncryptionOptions.Password Property

Specifies the password to open the file.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue("")]
public string Password { get; set; }
vb
<DefaultValue("")>
Public Property Password As String

Property Value

TypeDefaultDescription
StringString.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:

LibraryObject TypePath to Password
Cross-Platform Class LibraryXlExportOptionsBase

.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

XlEncryptionOptions Class

XlEncryptionOptions Members

DevExpress.XtraPrinting Namespace