[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
  [Collapse]DevExpress.Compression
   [Expand]AllowFileOverwriteEventArgs Class
    AllowFileOverwriteEventHandler Delegate
    AllowFileOverwriteMode Enumeration
   [Expand]CanContinueEventArgs Class
    EncryptionType Enumeration
   [Expand]ErrorEventArgs Class
    ErrorEventHandler Delegate
   [Expand]ProgressEventArgs Class
    ProgressEventHandler Delegate
   [Expand]WrongPasswordException Class
   [Expand]ZipArchive Class
   [Expand]ZipArchiveOptionsBehavior Class
   [Expand]ZipByteArrayItem Class
   [Expand]ZipDirectoryItem Class
   [Expand]ZipFileItem Class
   [Expand]ZipItem Class
    ZipItemAddingAction Enumeration
   [Expand]ZipItemAddingEventArgs Class
    ZipItemAddingEventHandler Delegate
   [Expand]ZipStreamItem Class
   [Expand]ZipTextItem Class
  [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.Rtf
  [Expand]DevExpress.XtraRichEdit.Forms
  [Expand]DevExpress.XtraRichEdit.Import
  [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)

DevExpress.Compression Namespace

Contains classes of the Compression library intended to implement zip compression and archive generation functionality.

Expanded Classes

  Class Description
Public class AllowFileOverwriteEventArgs Provides data for the ZipArchive.AllowFileOverwrite event.
Public class CanContinueEventArgs Base class that provides data to indicate whether the process can proceed further.
Public class ErrorEventArgs Provides data for the Error event.
Public class ProgressEventArgs Provides data for the ZipArchive.Progress event.
Public class WrongPasswordException An exception that is thrown when an encrypted zip file item is extracted with an invalid password.
Public class ZipArchive The central object of the library - a package of entries containing compressed data.
Public class ZipArchiveOptionsBehavior Contains options that specify how the zip archive performs certain actions.
Public class ZipByteArrayItem A zip item specific to the byte array source.
Public class ZipDirectoryItem A zip item specific to the directory.
Public class ZipFileItem A zip item specific to the file source.
Public class ZipItem An entry in the zip archive containing compressed data.
Public class ZipItemAddingEventArgs Provides data for the ZipArchive.ItemAdding event.
Public class ZipStreamItem A zip item specific to the stream source.
Public class ZipTextItem A zip item specific to the text source.

Expanded Delegates

  Delegate Description
Public delegate AllowFileOverwriteEventHandler A method that will handle the AllowFileOverwrite event.
Public delegate ErrorEventHandler A method that will handle the Error event.
Public delegate ProgressEventHandler A method that will handle the Progress event.
Public delegate ZipItemAddingEventHandler A method that will handle the ItemAdding event.

Expanded Enumerations

  Enumeration Description
Public enum AllowFileOverwriteMode Lists available modes to handle a file conflict when unzipping the archive.
Public enum EncryptionType Lists the available encryption types.
Public enum ZipItemAddingAction Lists a possible action when the ZipArchive.ItemAdding event is handled.
Is this topic helpful?​​​​​​​