FillFromDirectory automatically loads all known images inside Directory.

Sets FileName property with the image full path and BottomText with the file name.

Namespace: HiComponents.IEvolution
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
)
Public Sub FillFromDirectory ( _
	directory As String, _
	allowUnknownFormats As Boolean, _
	detectFileFormat As Boolean _
)
public:
void FillFromDirectory(
	String^ directory, 
	bool allowUnknownFormats, 
	bool detectFileFormat
)

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.

See Also