LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also