ImageEn, unit iemio

TImageEnMIO.LoadFromStreamTIFF

TImageEnMIO.LoadFromStreamTIFF


Declaration


function LoadFromStreamTIFF(Stream: TStream): Boolean;


Description


Load a TIFF from a stream into the attached TImageEnMView (at SelectedImage) or TIEMultiBitmap.
The result will be false if an error is encountered, e.g. the file in the stream is not TIFF format (Aborting will be true).

Notes:
- Existing content is not cleared
- You can abort loading by setting Aborting to true
- LoadFromStreamTIFF does not reset the position of the stream, so you may need to first call Stream.Position := 0;