Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

ZipArchive.AddText(String, String, Encoding) Method

Creates a text zip item and adds it to archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v19.1.dll

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
ZipTextItem

A ZipTextItem object that is the compressed text item in an archive.

See Also