[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.SectionDocument.CacheToDisk

CacheToDisk Property

CacheToDisk

Gets or sets whether indicating whether a document should use memory cache exclusively or be able to cache pages on disk.

Declaration
[Browsable(false)]
public bool CacheToDisk { get; set; }
Property Value
Type Description
bool

A bool value. A true value means that the pages collection will use a temporary file for the canvas item streams, otherwise, false.

Remarks

If you are not experiencing issues, kindly do not modify this property. To prevent performance degradations, only make changes for really large documents in conjunction with CacheToDiskLocation.

Examples
var sectionDocument = new GrapeCity.ActiveReports.Document.SectionDocument();
sectionDocument.CacheToDisk = true;
sectionDocument.CacheToDiskLocation = System.IO.Path.GetTempPath();