ImageEn, unit imageenio

TImageEnIO.SaveToFileDicom

TImageEnIO.SaveToFileDicom


Declaration

procedure SaveToFileDicom(const FileName: WideString);


Description

Saves the current image to a file in Dicom medical imaging format.
FileName is the file name including extension.

Notes:
- If an internal save error is encountered Aborting will return true. Saving issues due to insufficient write permissions and disk write failures will raise an exception.
- To abort while saving set Aborting to true


Demo

Demo  Demos\InputOutput\Dicom\Dicom.dpr


Example

ImageEnView1.IO.SaveToFileDicom('D:\image.dicom');