See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

CleanupPeriod Property

Gets or sets the number of minutes images are stored in the TempDirectory folder before they are deleted.

[Visual Basic]
Public Property CleanupPeriod As Integer
[C#]
public int CleanupPeriod {get; set;}

Remarks

When .netCHARTING renders a chart a temporary file is created in the directory set by the TempDirectory property. The CleanUpPeriod property determines how frequently (in minutes) this directory is cleaned by deleting old temporary files. The default is 15 minutes and the property can be set to 0 in order to disable the cleanup in which case temp files are not automatically deleted.

Any files that start with 'dnc-' will be deleted in the temp directory.

Example

[C#] 

//delete old files every 30 minutes 
Chart.CleanupPeriod = 30;

[Visual Basic] 

'delete old files every 30 minutes
Chart.CleanupPeriod = 30

See Also

Chart Class  | Chart Members

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.