ThumbnailEx1.LoadFromDirectory([Path],[False],[Pattern])
This is currently using the DirectoryInfo.GetFiles Method.
With this current setup you can only use 0ne pattern at a time.
Recommendation:
If you build function to use the FileSystem.GetFiles(String, SearchOption, String()) Method you would be able to use an array of strings for the pattern rather than just one pattern.
For example: I want to load jpg and png. I can make the pattern : *.jpg;*.png
See: http://msdn.microsoft.com/en-us/library/ms127994.aspx
With your way a programmer would have to loop through all the desired patterns one by one.
With the the FileSystem.GetFiles (String, SearchOption, String()) Method all you have to do is one call.
ThumbnailEX to load multiple file types
Re: ThumbnailEX to load multiple file types
Hello,
We've already implemented this feature for the next upcoming GdPicture.NET 9 version.
See: https://www.gdpicture.com/blog/gdpicture-net-9-beta/
Kind regards,
Loïc
We've already implemented this feature for the next upcoming GdPicture.NET 9 version.
See: https://www.gdpicture.com/blog/gdpicture-net-9-beta/
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest