ZipArchive.AddText(String, String, Encoding) Method
In This Article
Creates a text zip item and adds it to archive.
Namespace: DevExpress.Compression
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#Declaration
public ZipTextItem AddText(
string name,
string content,
Encoding encoding
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A string that is the name of the text zip item. |
content | String | A string that is the text to compress and store in a text zip item. |
encoding | Encoding | A Encoding object that specifies character encoding of the compressed text. |
#Returns
Type | Description |
---|---|
Zip |
A Zip |
See Also