Skip to main content

ZipItem.Extract(String) Method

Extracts archive item as a file to the specified directory.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public void Extract(
    string directory
)

Parameters

Name Type Description
directory String

A string that is the path to the directory to which the files are extracted.

Remarks

If the archive contains directories, the directory structure will be recreated in the specified directory. The ZipItem.Name property value becomes the file name of the extracted file.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Extract(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also