lazyLoad Property

Summary

Indicates when images will be loaded.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentViewerThumbnails.prototype, 'lazyLoad', 
	get: function(), 
	set: function(value) 
) 
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 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly