ActiveReports.Document Send comments on this topic.
CacheToDiskLocation Property
See Also  Example
ActiveReports.Document Assembly > DataDynamics.ActiveReports.Document Namespace > Document Class : CacheToDiskLocation Property

Gets or set the location of CacheToDisk files. The location can be a physical path or IsolateStorage.

Syntax

Visual Basic (Declaration) 
Public Property CacheToDiskLocation As String
C# 
public string CacheToDiskLocation {get; set;}

Example

C#Copy Code
private void arv_Load(object sender, System.EventArgs e)
{
   rptDocument rpt =
new rptDocument();
   rpt.Document.CacheToDisk = true;
   rpt.Document.CacheToDiskLocation =
"C:\\Temp";
   rpt.Run();
   arv.Document=rpt.Document;
}
Visual BasicCopy Code
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDocument
    rpt.Document.CacheToDisk = True
    rpt.Document.CacheToDiskLocation = "C:\\Temp"
    rpt.Run()
    arv.Document = rpt.Document
End Sub

Remarks

Temporary files and folders created in IsolatedStorage are not deleted automatically.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also