ActiveReports.Viewer3 Request technical support
CacheToDiskLocation Property
See Also  Example


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
Visual Basic (Usage)Copy Code
Dim instance As Document
Dim value As String
 
instance.CacheToDiskLocation = value
 
value = instance.CacheToDiskLocation
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

See Also