.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ZipArchive.AddText(String, String) Method

Creates a text zip item and adds it to the archive.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public ZipTextItem AddText(
    string name,
    string content
)

Parameters

Name Type Description
name String

A string specifying the name of the text zip item.

content String

A string that is the text to compress and store in a text zip item.

Returns

Type Description
ZipTextItem

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

Remarks

Default character encoding is UTF8.

See Also