ImageEn, unit iexHelperFunctions

TImageEnIO.LoadFromFileEx

TImageEnIO.LoadFromFileEx


Declaration


function LoadFromFileEx(const sFilename: string; bAutoAdjustOrientation: Boolean; iImageIndex : 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);