System.Zip.TZipFile

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTZipFile

Delphi

TZipFile = class

C++

class PASCALIMPLEMENTATION TZipFile : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
System.Zip.pas
System.Zip.hpp
System.Zip System.Zip

Description

TZipFile is a class for creating and reading .zip files.

Use TZipFile methods to compress or decompress files in .zip format.

Use Open and Close to open or close a .zip file. Add adds files to an archive, while Extract and ExtractAll provide a way to extract files from an archive.

You can use TZipFile properties like FileName, FileInfo, or FileComment to obtain information about the files contained by a .zip archive.

You can also extract files form an archive without instantiating TZipFile objects by using the ExtractZipFile class procedure.

TZipFile methods may raise exceptions of type EZipException.

See Also