Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CacheFolder Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : CacheFolder Property



Gets or sets the virtual path where the processed images are cached.

Syntax

Visual Basic (Declaration) 
Public Property CacheFolder As String
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim value As String
 
instance.CacheFolder = value
 
value = instance.CacheFolder
C# 
public string CacheFolder {get; set;}
C++/CLI 
public:
property String^ CacheFolder {
   String^ get();
   void set (String^ value);
}

Return Value

The virtual path where the processed images are cached.

Example

Remarks

This property should be set to an existing folder to cache the processed images. If this property is not set or it is set to an invalid virtual folder path, the control will fail when it tries to download an external image or when it tries to apply any of the image processing commands. This property can be set in the application's Web.config file. Use this syntax in the "appSettings" section of the config file:

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also