VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_ProgressImage Property
Syntax Exceptions Example BrowserCompatibility SeeAlso
In This Topic
set_ProgressImage Method
In This Topic
Sets an image which should be used for animating image loading.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var returnValue; // Type: any

// Parameters
var value; // Type: object

returnValue = instance.set_ProgressImage(value);

Parameters

value
An image which should be used for animating image loading. Default value is null.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Example

 // This code shows how to use this property.
 
 // create Image object
 var image = new Image();
 // set image source
 image.src = "http://www.someserver.com/somepath/animation.gif";

 imageViewer1.set_ProgressImage(image);

Browser Compatibility
56+
45+
11
See Also