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

Declaration

public class MemoryDocumentStorage :
    DocumentStorage,
    IDisposable
Public Class MemoryDocumentStorage
    Inherits DocumentStorage
    Implements 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