←Select platform

LazyLoad Property

Summary

Indicates when images will be loaded.

Syntax
C#
VB
C++
public bool LazyLoad { get; set; } 
Public Property LazyLoad() As Boolean 
   Get 
   Set 
public:  
   property bool LazyLoad 
   { 
      bool get() 
      void set(bool value) 
   } 

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.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly