An error describing the reason for the image load failure from Run.
Object.defineProperty(ImageLoader.prototype, 'error',
get: function()
)
error: Error; // read-only
An error object if the image load failed; otherwise, null.
When Run is called, the image request begins. If the request fails to load for any reason, Element will not be set to the loaded image and Error will be set to an error. The Fail and Always events will then be fired. If the request fails due to ImageLoaderPreRunEventArgs.Cancel from PreRun or ImageLoaderPreSendEventArgs.Cancel from PreSend, the error will
In most cases, your browser will also log the failed image request to the browser's developer tools console.
This property is cleared when Dispose is called.
See Run for more information.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document