ImageEn, unit iexMetaHelpers

DicomCompatibleFile


Declaration

function DicomCompatibleFile(const sFilename: string): boolean;


Description

Returns true if the specified filename has a DICOM extension (i.e. *.DICOM, *.DCM, *.DIC or *.V2).


Examples

// Enable button if the selected file is Dicom format
btnShowDicom.Enabled := DicomCompatibleFile( MyFileListBox.Filename );