Declarationproperty Aborting: boolean;
Applications can abort save/load processing by assigning True to the Aborting property. On loading, the image will be truncated. On saving, the file will be closed and truncated (and will be unreadable).
You can also read the Aborting
property to know when aborting has occured (e.g. due to a failed load).
Note: The result from all LoadFromFile() methods returns false if Aborting has occured
Which is the same as:
If MyImageEnMView.LoadFromFileGIF('C:\MyGif.gif') = False then...