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.v21.2.Core.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MemoryDocumentStorage class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
DocumentStorage
MemoryDocumentStorage
See Also