VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Utils Namespace / WebImageCacheManagerJS type / set_MaxCacheSize Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_MaxCacheSize Method
    In This Topic
    Sets the maximum allowable cache size in bytes.
    Syntax
    var instance = new Vintasoft.Imaging.Utils.WebImageCacheManagerJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_MaxCacheSize(value);
    
    
    function set_MaxCacheSize(
    value
    The maximum allowable cache size in bytes. 0 means that cache size is not limited.
    : number
    ) : any;

    Parameters

    value
    The maximum allowable cache size in bytes. 0 means that cache size is not limited.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if argument is zero or argument is negative.
    Browser Compatibility
    56+
    45+
    11
    See Also