ImageEn, unit iemio

TImageEnMIO.LoadFromStreamCUR

TImageEnMIO.LoadFromStreamCUR


Declaration

function LoadFromStreamCUR(Stream: TStream): Boolean;


Description

Loads all images contained in a multi-image CUR stream into the attached TImageEnMView or TIEMultiBitmap.
The result will be false if an error is encountered, e.g. the file in the stream is not CUR format (Aborting will be true).

Notes:
- Existing content is not cleared. Call Clear to remove existing content before loading.
- To abort while loading set Aborting to true
- LoadFromStreamCUR does not reset the position of the stream, so you may need to first call Stream.Position := 0;