VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebThumbnailViewerJS type / set_SyncCacheWithImages Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
set_SyncCacheWithImages Method
In This Topic
Sets a value indicating whether viewer must synchronize the image cache with image collection state.
Syntax
var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId);

var returnValue; // Type: any

// Parameters
var value; // Type: boolean

returnValue = instance.set_SyncCacheWithImages(value);

Parameters

value
True - viewer must clear cache for images, which are deleted from the image collection; false - viewer must not change cache for images when image collection is changed. Default value is True.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if viewer has a master viewer.
Remarks

This property has effect only if image cache manager is defined, i.e. get_ImageCacheManager property returns NOT nothing.

Browser Compatibility
56+
45+
11
See Also