TImageEnIO.LoadFromFileBMP
Declaration
function LoadFromFileBMP(const FileName: WideString): Boolean;
Description
Loads an image from a BMP file.
FileName is the file name including extension.
Result will be false if the file is not BMP format (and
Aborting will be true). Loading errors due to a file not being available will raise an exception.
Note: You can abort loading by setting
Aborting to true
ImageEnView1.IO.LoadFromFileBMP('C:\myimage.bmp');