Leadtools.Documents.UI Namespace > DocumentViewerView Object : LazyLoad Property |
get_lazyLoad();
set_lazyLoad(value);
Object.defineProperty('lazyLoad');
Type | Description |
---|---|
boolean | 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. |
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.