VintaSoft Barcode .NET SDK v10.0
getImageFileInfo Method
Vintasoft.Shared Namespace > WebImageCollectionJS type : getImageFileInfo Method
Array of file URLs on server.
Function that will be executed if request is executed successfully.
Here is function prototype "function __success(data)".
The data parameter has the following properties:
Function that will be executed if request is failed.
Here is function prototype "function __error(data)".
The data parameter can be:
  1. An object with following properties:
    • errorMessage: Error message.
    • blocked: Indicates that the requested action is blocked by another request.
    if exception is catched inside web service.
  2. Otherwise, jqXHR object.
Instance of Shared.WebServiceJS class, which allows to manage an image collection.
This parameter can be specified as the second parameter of function if "successFunc" and "errorFunc" parameters are not specified.
Web service specified by the Shared.WebServiceJS.defaultImageCollectionService property will be used if this parameter is not specified.
Function that sends an asynchronous request to a server, gets information about images from image files stored on server.
Syntax
var instance = new Vintasoft.Shared.WebImageCollectionJS();
var value; // Type: any
value = instance.getImageFileInfo(fileUrls, successFunc, errorFunc, service);
function getImageFileInfo( 
   fileUrls : object,
   successFunc : object,
   errorFunc : object,
   service : object
) : any;

Parameters

fileUrls
Array of file URLs on server.
successFunc
Function that will be executed if request is executed successfully.
Here is function prototype "function __success(data)".
The data parameter has the following properties:
  • imageInfos: Information about images in image files.
  • images: An array of Shared.WebImageJS created using imageInfos property.
errorFunc
Function that will be executed if request is failed.
Here is function prototype "function __error(data)".
The data parameter can be:
  1. An object with following properties:
    • errorMessage: Error message.
    • blocked: Indicates that the requested action is blocked by another request.
    if exception is catched inside web service.
  2. Otherwise, jqXHR object.
service
Instance of Shared.WebServiceJS class, which allows to manage an image collection.
This parameter can be specified as the second parameter of function if "successFunc" and "errorFunc" parameters are not specified.
Web service specified by the Shared.WebServiceJS.defaultImageCollectionService property will be used if this parameter is not specified.
Browser Compatibility
9
5
11
5
See Also

Reference

WebImageCollectionJS type