TImageEnMIO.LoadFromFileDICOM
Declaration
function LoadFromFileDICOM(const FileName: string): Boolean;
Description
Loads a DICOM image or a multipage DICOM into the attached
TImageEnMView or
TIEMultiBitmap. This method is necessary when the DICOM file has no extension or valid DICOM header, but you are sure that is a DICOM file.
Result will be false if the file is not DICOM format (
Aborting will be true). Loading errors due to a file not being available will raise an exception.
Notes:
- DICOM parameters are stored in
DICOM_Tags- Existing content is
not cleared. Call
Clear to remove existing content before loading.
Example
ImageEnMView1.MIO.LoadFromFileDICOM('heart-sequence');