VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Utils Namespace / WebImageCacheManagerJS type / containsImageData Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    containsImageData Method
    In This Topic
    Determines whether the image cache contains data, which are associated with specified key.
    Syntax
    var instance = new Vintasoft.Imaging.Utils.WebImageCacheManagerJS();
    
    var value; // Type: boolean
    
    // Parameters
    var image; // Type: WebImageJS
    var key; // Type: string
    
    value = instance.containsImageData(image, key);
    
    
    function containsImageData(
    image
    A WebImageJS object, which specifies the image cache, where data must be searched.
    : WebImageJS,
    key
    A key in image cache.
    : string
    ) : boolean;

    Parameters

    image
    A WebImageJS object, which specifies the image cache, where data must be searched.
    key
    A key in image cache.

    Return Value

    True if image cache contains data; otherwise, False.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also