backImageLoadImageUrlMode Property

Summary

Specifies how an image should be loaded when this item is provided a URL (single item mode).

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

Property Value

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

Remarks

This is a helper property for applications that use ImageViewer in single item mode. It is a shortcut to ActiveItem, and will modify BackImageLoadUrlMode. For more information, refer to Image Viewer in Single Item Mode.

When BackImageUrl is set and an HTML Image Element needs to be created and loaded with the URL, BackImageLoadImageUrlMode 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.

Requirements

Target Platforms

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

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.