FillFromDirectory automatically loads all known images inside Directory.
Sets FileName property with the image full path and BottomText with the file name.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void FillFromDirectory( string directory, bool allowUnknownFormats, bool detectFileFormat, string filterMask )
Public Sub FillFromDirectory ( _ directory As String, _ allowUnknownFormats As Boolean, _ detectFileFormat As Boolean, _ filterMask As String _ )
public: void FillFromDirectory( String^ directory, bool allowUnknownFormats, bool detectFileFormat, String^ filterMask )
Parameters
- directory
- String
The path of the directory
- allowUnknownFormats
- Boolean
If true, includes unknown file formats displaying shell default icon.
- detectFileFormat
- Boolean
If DetectFileFormat is true image type is detected reading the header, otherwise IEvolution looks at filename extension.
- filterMask
- String
Contains a comma separated list of file extensions to include. Empty string means "all supported extensions".