Leadtools.WinForms Namespace > RasterThumbnailBrowser Class > LoadThumbnails Method : LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags) Method |
Value | Description |
---|---|
RasterThumbnailBrowserLoadFlags.None | Default mode, the method will return immediatly and the thumbnails are loaded in a background thread. |
RasterThumbnailBrowserLoadFlags.Block | The method will not return until all thumbnails are loaded. |
RasterThumbnailBrowserLoadFlags.OnlyValidImageFiles | Only valid image files are loaded. Any file that contains data not recognized by the Codecs object as a valid image file will not be loaded. |
public void LoadThumbnails( string path, string searchPattern, RasterThumbnailBrowserLoadFlags flags )
'Declaration Public Overloads Sub LoadThumbnails( _ ByVal path As String, _ ByVal searchPattern As String, _ ByVal flags As RasterThumbnailBrowserLoadFlags _ )
'Usage Dim instance As RasterThumbnailBrowser Dim path As String Dim searchPattern As String Dim flags As RasterThumbnailBrowserLoadFlags instance.LoadThumbnails(path, searchPattern, flags)
public void LoadThumbnails( string path, string searchPattern, RasterThumbnailBrowserLoadFlags flags )
function Leadtools.WinForms.RasterThumbnailBrowser.LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags)( path , searchPattern , flags )
public: void LoadThumbnails( String^ path, String^ searchPattern, RasterThumbnailBrowserLoadFlags flags )
Value | Description |
---|---|
RasterThumbnailBrowserLoadFlags.None | Default mode, the method will return immediatly and the thumbnails are loaded in a background thread. |
RasterThumbnailBrowserLoadFlags.Block | The method will not return until all thumbnails are loaded. |
RasterThumbnailBrowserLoadFlags.OnlyValidImageFiles | Only valid image files are loaded. Any file that contains data not recognized by the Codecs object as a valid image file will not be loaded. |
Use the LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags) method to populate the RasterThumbnailBrowser control with the thumbnails of image files found in the directory specified by path. The control will load the images in the following manner:
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