lazyLoad Property

Summary

Indicates when images will be loaded.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentViewerView.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 view. LazyLoad will simply determine whether loading will pause after all images in the 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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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