ImageMan.Net Version 3 Summer 2012 Release
LoadOnDemand Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > ThumbNailViewer Class : LoadOnDemand Property





Glossary Item Box

Specifies if all images should be loaded when the LoadFromDir method is called or if images should only be loaded as they are needed to refresh the Thumbnail control. Setting this property to True will result in the fastest response when calling LoadFromDir but will incur some slight delay if the control is scrolled as new images are loaded.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Specifies if all thumbnails are loaded when the LoadDir method is called or if they are loaded as needed.")>
<System.ComponentModel.CategoryAttribute("Behavior")>
Public Property LoadOnDemand As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As ThumbNailViewer
Dim value As System.Boolean
 
instance.LoadOnDemand = value
 
value = instance.LoadOnDemand
C# 
[System.ComponentModel.DescriptionAttribute("Specifies if all thumbnails are loaded when the LoadDir method is called or if they are loaded as needed.")]
[System.ComponentModel.CategoryAttribute("Behavior")]
public System.bool LoadOnDemand {get; set;}
JScript 
System.ComponentModel.DescriptionAttribute("Specifies if all thumbnails are loaded when the LoadDir method is called or if they are loaded as needed.")
System.ComponentModel.CategoryAttribute("Behavior")
public function get,set LoadOnDemand : System.boolean
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Specifies if all thumbnails are loaded when the LoadDir method is called or if they are loaded as needed.")]
[System.ComponentModel.CategoryAttribute("Behavior")]
public: __property System.bool get_LoadOnDemand();
public: __property void set_LoadOnDemand( 
   System.bool value
);
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Specifies if all thumbnails are loaded when the LoadDir method is called or if they are loaded as needed.")]
[System.ComponentModel.CategoryAttribute("Behavior")]
public:
property System.bool LoadOnDemand {
   System.bool get();
   void set (    System.bool value);
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.