Skip to main content

MemoryDocumentStorage Class

A memory storage used by the CachedReportSource and CachedReportSourceWeb objects to cache the document that it generates to display/export/print a report.

Namespace: DevExpress.XtraPrinting.Caching

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public class MemoryDocumentStorage :
    DocumentStorage,
    IDisposable

Remarks

A MemoryDocumentStorage object stores the document generated by the associated CachedReportSource/CachedReportSourceWeb object in memory as a MemoryStream array.

Note

In comparison to the document model that is stored in memory when a standard approach for displaying/printing/exporting reports is used, the MemoryDocumentStorage storage caches a document more compactly. This leads to memory consumption reduction, but at the same time the performance may decrease as well, since serialization/deserialization/encoding takes more time.

Inheritance

Object
DocumentStorage
MemoryDocumentStorage
See Also