corelibraries-devexpress-dot-xtraprinting-dot-caching-c42ea97d.md
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.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public class MemoryDocumentStorage :
DocumentStorage,
IDisposable
Public Class MemoryDocumentStorage
Inherits DocumentStorage
Implements IDisposable
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.
Object DocumentStorage MemoryDocumentStorage
See Also