ImageEn, unit ImageEnIO

TImageEnIO.LoadFromStreamICO

TImageEnIO.LoadFromStreamICO

Declaration

function LoadFromStreamICO(Stream: TStream): Boolean;

Description

Loads an image from a stream containing an icon file. The result will be False if an error is encountered, e.g. the file in the stream is not ICO format (Aborting will be True).


Note:
◼You can abort loading by setting Aborting to True
◼LoadFromStreamICO does not reset the position of the stream, so you may need to first call Stream.Position := 0;

See Also

◼LoadFromFileICO
◼SaveToStreamICO
◼ICO_ImageIndex
◼ImageCount
◼Global Image Methods