ImageEn, unit iemio

TImageEnMIO.LoadFromStreamDICOM

TImageEnMIO.LoadFromStreamDICOM


Declaration

function TImageEnMIO.LoadFromStreamDICOM(Stream: TStream): Boolean;


Description

Loads a DICOM image or sequence of images from 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 DICOM format (Aborting will be true).

Note:
DICOM parameters are stored in DICOM_Tags
Existing content is not cleared. Call Clear to remove existing content before loading.
To abort while loading set Aborting to true
LoadFromStreamDICOM does not reset the position of the stream, so you may need to first call Stream.Position := 0;