ImageEn, unit ImageEnIO

TImageEnIO.LoadFromStreamDCX

TImageEnIO.LoadFromStreamDCX

Declaration

function LoadFromStreamDCX(Stream: TStream): Boolean;

Description

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

Note:
◼You can abort loading by setting Aborting to True
◼You can set the page to load using Params.ImageIndex property
◼LoadFromStreamDCX does not reset the position of the stream, so you may need to first call Stream.Position := 0;

See Also

◼LoadFromFileDCX
◼SaveToStreamDCX
◼ImageIndex
◼ImageCount
◼Global Image Methods