The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RichEditDocumentImportOptions.EncryptionPassword Property

Specifies a password used to unprotect a password-protected document during import.

Namespace: DevExpress.XtraRichEdit.Import

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

Declaration

public string EncryptionPassword { get; set; }
Public Property EncryptionPassword As String
public string EncryptionPassword { get; set; }
Public Property EncryptionPassword As String
public string EncryptionPassword { get; set; }
Public Property EncryptionPassword As String

Property Value

Type Description
String

The target password.

Property Value

Type Description
String

The target password.

Property Value

Type Description
String

The target password.

Remarks

The EncryptionPassword property specifies a password to open a password-encrypted document.
If the EncryptionPassword property is not specified or returns an invalid password, the EncryptedFilePasswordRequested event fires.

The code sample below shows how to specify the password to load an encrypted file.

server.Options.Import.EncryptionPassword = "test";
server.LoadDocument("Documents//testEncrypted.docx");
See Also