Leadtools.Jpip.Client.WinForms Requires JPIP Module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CacheDirectoryName Property
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : CacheDirectoryName Property



Gets or sets the name of the cache directory.

Syntax

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

Return Value

The name of the cache directory. Can be null.

Example

This example demonstrates this value being set to save cache data. For an example, refer to JpipRasterImageViewer.

Remarks

If this value is null, no cache file will be saved. If this value is set, the JpipRasterImageViewer object will save the cache file when Close is called. The cache file holds all of the meta and image data. This cache file will be used the next time the image is opened so that less data will need to be sent by the server.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features