TZippyWriter.CreateZip Method
Overloads
TZippyWriter.CreateZip(String)
Creates a zip file on disk. After creating it, you can add new files with Add(String), AddFile and AddStream
Syntax
Namespace: FlexCel.Core
public void CreateZip(String aZipFileName)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aZipFileName | String | Name of the file that will be created on disk. |
See also
TZippyWriter.CreateZip(Stream, Boolean)
Creates a zip file in a stream. After creating it, you can add new files with Add(String), AddFile and AddStream
Syntax
Namespace: FlexCel.Core
public void CreateZip(Stream aStream, Boolean aOwnsStream)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aStream | Stream | Stream where you want to create the file. |
|
aOwnsStream | Boolean | If true, aStream will be freed when you destroy this object. If false, you need to destroy the stream yourself. |