Skip to main content

ZipStreamItem.ContentStream Property

Gets or sets the content of the zip stream item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public Stream ContentStream { get; set; }

Property Value

Type Description
Stream

A Stream object that is the content of a zip item.

Remarks

The ContentStream enables you to specify the stream to pack into the archive as the zip item. The specified stream is not closed and disposed automatically.

You can also use the ZipArchive.AddStream method to create a ZipStreamItem and add it to the archive.

See Also