lazyLoad Property

Summary

Indicates when images will be loaded.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentViewerThumbnails.prototype, 'lazyLoad', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
lazyLoad: boolean; 

Property Value

If true, images will be loaded only when they are made visible on the screen. Default is false, meaning all images will attempt to load when the document is ready.

Remarks

Note that even if lazy loading is not in effect, image loading will still be done in an intelligent "raindrop" / alternating up-down method, loading images in view first and then prioritizing images closer to the thumbnail view. LazyLoad will simply determine whether loading will pause after all images in the thumbnail view are loaded.

This value can be changed at any time and should take effect immediately. The LEADTOOLS Document Viewer has this value as true by default.

Note that LazyLoad is always on if the document is not read-only since pages from various documents can be added or removed in any order and at any time to the document set in the viewer.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly