Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ZipStreamItem.ContentStream Property

Gets or sets the content of the zip stream item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.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