This method loads image data from a file.
Parameters
None
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The LoadImageFromFile method loads image data from a file. The FileName property sets the file to be loaded. If successful, the image data is set in either the Image property or the Layer(LayerNumber).Imgae property as determined by the value set in the LayerNumber property. If the image is a multi-page image file, set the page to be loaded in the LoadPage property. Executing this method will set image information in the same properties as executing the GetImageFileType method.
16 bit BMP and TIFF files:
16 bit BMP and TIFF files can be loaded but the loaded image data
will converted to 32 bit image data. Saving the data will result in
a 32 bit image.
WMF and EMF files:
Wmf and Emf images are converted to raster images after they are
loaded.