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

    Parameters

    image
    A WebImageJS object, which specifies the image cache, where data must be added.
    key
    A key in image cache.
    data
    A data, which must be added to the image cache.
    Exceptions
    ExceptionDescription
    Thrown if data is null.
    Thrown if cache manager already contains data with specified key.
    Browser Compatibility
    56+
    45+
    11
    See Also