loadUrlMode Property

Summary

Specifies how an image should be loaded when this item is provided a URL.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewerItem.prototype, 'loadUrlMode', 
	get: function(), 
	set: function(value) 
) 
loadUrlMode: ImageLoaderUrlMode; 

Property Value

Specifies how an image should be loaded when this item is provided a URL. Default value is ImageLoaderUrlMode.ImageUrl.

Remarks

When Url is set and an HTML Image Element needs to be created and loaded with the URL, LoadUrlMode dictates how the loading will occur. It will also dictate how an image is reloaded when AutoRemoveItemElements is true. See ImageLoaderUrlMode for the differences in loading strategies.

When used in conjunction with ImageLoading, the user can have full control over how the new image is loaded.

LoadImageUrlMode exists as a helper property for applications that use ImageViewer in single item mode. For more information, refer to Image Viewer in Single Item Mode.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly