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





Path
Specifies the directory from which the images should be loaded

Glossary Item Box

Loads thumbnails into the control from a specified directory.

Syntax

Visual Basic (Declaration) 
Public Function LoadFromDir( _
   ByVal Path As System.String _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As ThumbNailViewer
Dim Path As System.String
Dim value As System.Integer
 
value = instance.LoadFromDir(Path)
C# 
public System.int LoadFromDir( 
   System.string Path
)
JScript 
public function LoadFromDir( 
   Path : System.String
) : System.int;
Managed Extensions for C++ 
public: System.int LoadFromDir( 
   System.string* Path
) 
C++/CLI 
public:
System.int LoadFromDir( 
   System.String^ Path
) 

Parameters

Path
Specifies the directory from which the images should be loaded

Return Value

Number of thumbnail images loaded into the control

Remarks

This method will not clear existing images from a control so you can call it multiple times and the images found each time its called will be added to the thumbnails in the control.

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.