ImageEn, unit imageenio

TImageEnIO.LoadFromStreamCUR

TImageEnIO.LoadFromStreamCUR


Declaration

function LoadFromStreamCUR(Stream: TStream): Boolean;


Description

Load an image from a stream containing a cursor file. 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).

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