Share via


CrystalImageCleaner Class

Provides methods to delete dynamically generated images by the Web application.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration
Public Class CrystalImageCleaner
public class CrystalImageCleaner

Remarks

In the Web.config file, the CrystalImageCleaner class is automatically called to set the thread's sleep time and age value. The CrystalImageCleaner automatically starts a thread to delete the dynamically generated images.

<add key="CrystalImageCleaner-Sleep" value="60000"/>

<add key="CrystalImageCleaner-Age" value="120000"/>

The CrystalImageCleaner thread can be controlled through use of the "CrystalImageCleaner-AutoStart" setting.

<add key="CrystalImageCleaner-AutoStart" value="false"/>

The Start and Stop methods from this class can be used to control the timing for the image deletion process.

Inheritance Hierarchy

Object
   CrystalImageCleaner

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 9

See Also

Reference

CrystalImageCleaner Members
CrystalDecisions.Web Namespace