GdPicture.NET.14
GdPicture14.WPF Namespace / ThumbnailEx Class / LoadFromDirectory Method / LoadFromDirectory(String,Boolean) Method
The path from which thumbnail will be generated.
Set to True to include sub folders else False.





In This Topic
LoadFromDirectory(String,Boolean) Method
In This Topic
Load thumbnails from directory. The ThumbnailEx control will generate a thumbnail for each image or PDF document found in the directory. Thumbnails will be generated asynchronously.
Syntax
'Declaration
 
Public Overloads Function LoadFromDirectory( _
   ByVal Path As String, _
   ByVal IncludeSubFolders As Boolean _
) As GdPictureStatus
public GdPictureStatus LoadFromDirectory( 
   string Path,
   bool IncludeSubFolders
)
public function LoadFromDirectory( 
    Path: String;
    IncludeSubFolders: Boolean
): GdPictureStatus; 
public function LoadFromDirectory( 
   Path : String,
   IncludeSubFolders : boolean
) : GdPictureStatus;
public: GdPictureStatus LoadFromDirectory( 
   string* Path,
   bool IncludeSubFolders
) 
public:
GdPictureStatus LoadFromDirectory( 
   String^ Path,
   bool IncludeSubFolders
) 

Parameters

Path
The path from which thumbnail will be generated.
IncludeSubFolders
Set to True to include sub folders else False.

Return Value

A member of the GdPictureStatus enumeration.
See Also