TImageEnIO.LoadFromFileICO
Declaration
function LoadFromFileICO(const FileName: WideString): Boolean;
Description
Loads an image from an icon file.
FileName is the file name including extension.
Result will be false if the file is not ICO 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
| Demos\ImageEditing\IconEditor\IconEditor.dpr |
ImageEnView1.IO.LoadFromFileICO('C:\gates.ico');
See Also
◼LoadFromStreamICO
◼SaveToFileICO
◼ICO_ImageIndex
◼ImageCount
◼Global Image Methods