[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Office File API
  Demo Application
  Redistribution and Deployment
 [Expand]Spreadsheet Document API
 [Expand]Word Processing Document API
 [Expand]PDF Document API
 [Expand]Excel Export Library
 [Expand]Snap Report API
 [Expand]Zip Compression and Archive API
 [Expand]Barcode Generation API
 [Expand]Unit Conversion API
 [Collapse]API Reference
  [Expand]DevExpress.BarCodes
  [Expand]DevExpress.Compression
  [Expand]DevExpress.Docs.Text
  [Expand]DevExpress.Office
  [Expand]DevExpress.Office.Drawing
  [Expand]DevExpress.Office.Export
  [Expand]DevExpress.Office.Export.Html
  [Expand]DevExpress.Office.Import
  [Expand]DevExpress.Office.Localization
  [Expand]DevExpress.Office.Options
  [Expand]DevExpress.Office.Services
  [Expand]DevExpress.Office.Utils
  [Expand]DevExpress.Pdf
  [Expand]DevExpress.Pdf.Localization
  [Expand]DevExpress.Snap
  [Expand]DevExpress.Spreadsheet
  [Expand]DevExpress.Spreadsheet.Charts
  [Expand]DevExpress.Spreadsheet.Drawings
  [Expand]DevExpress.Spreadsheet.Export
  [Expand]DevExpress.Spreadsheet.Formulas
  [Expand]DevExpress.Spreadsheet.Functions
  [Expand]DevExpress.UnitConversion
  [Expand]DevExpress.XtraPrinting
  [Expand]DevExpress.XtraPrintingLinks
  [Expand]DevExpress.XtraRichEdit
  [Expand]DevExpress.XtraRichEdit.API.Layout
  [Expand]DevExpress.XtraRichEdit.API.Native
  [Expand]DevExpress.XtraRichEdit.API.Native.Implementation
  [Expand]DevExpress.XtraRichEdit.Commands
  [Expand]DevExpress.XtraRichEdit.Export
  [Expand]DevExpress.XtraRichEdit.Export.Html
  [Expand]DevExpress.XtraRichEdit.Export.PlainText
  [Expand]DevExpress.XtraRichEdit.Export.Rtf
  [Expand]DevExpress.XtraRichEdit.Forms
  [Collapse]DevExpress.XtraRichEdit.Import
   [Expand]DocDocumentImporterOptions Class
   [Expand]DocumentImporterOptions Class
   [Expand]HtmlDocumentImporterOptions Class
   [Expand]MhtDocumentImporterOptions Class
   [Expand]OpenDocumentImporterOptions Class
   [Expand]OpenXmlDocumentImporterOptions Class
   [Expand]PlainTextDocumentImporterOptions Class
   [Collapse]RichEditDocumentImportOptions Class
     RichEditDocumentImportOptions Members
     RichEditDocumentImportOptions Constructor
    [Collapse]RichEditDocumentImportOptions Properties
      Doc Property
      EncryptionPassword Property
      FallbackFormat Property
      Html Property
      Mht Property
      OpenDocument Property
      OpenXml Property
      PlainText Property
      Rtf Property
      WordML Property
   [Expand]RtfDocumentImporterOptions Class
   [Expand]UpdateFieldOptions Class
   [Expand]WordMLDocumentImporterOptions Class
  [Expand]DevExpress.XtraRichEdit.Localization
  [Expand]DevExpress.XtraRichEdit.Services
  [Expand]DevExpress.XtraRichEdit.Utils
  [Expand]DevExpress.XtraSpreadsheet
  [Expand]DevExpress.XtraSpreadsheet.Export
  [Expand]DevExpress.XtraSpreadsheet.Export.Html
  [Expand]DevExpress.XtraSpreadsheet.Import
  [Expand]DevExpress.XtraSpreadsheet.Localization
  [Expand]DevExpress.XtraSpreadsheet.Services
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

RichEditDocumentImportOptions.EncryptionPassword Property

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

Namespace:DevExpress.XtraRichEdit.Import
Assembly:DevExpress.RichEdit.v19.1.Core.dll

Expanded Syntax

Property value

Type: String
The target password.

Expanded 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.

Expanded See Also

Is this topic helpful?​​​​​​​