Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property string* get_CacheFolder();
public: __property void set_CacheFolder( 
   string* value
);
C++/CLI 
public:
property String^ CacheFolder {
   String^ get();
   void set (String^ value);
}

Return Value

The virtual path where the processed images are cached.

Example

Refer to ImageUrl

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.

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