ImageEn, unit iexHelperFunctions

TImageEnIO.LoadFromFileEx

TImageEnIO.LoadFromFileEx


Declaration


function LoadFromFileEx(const Filename: string; AutoAdjustOrientation: Boolean; ImageIndex : Integer = -1): Boolean;


Description


Calls LoadFromFile, optionally setting EnableAdjustOrientation to automatically re-orient JPEG camera images and ImageIndex to display a specific image.
Returns True if loading was successful, or False on error


Example


// Load the third page of MyImage.tiff
ImageEnView1.IO.LoadFromFileEx('D:\MyImage.tiff', False, 2);