ImageEn, unit iexBitmaps

TIOParams.DICOM_FrameTime

TIOParams.DICOM_FrameTime


Declaration

property DICOM_FrameTime: double;


Description

Returns the time in milliseconds between each frame if the file has multiple frames.
This value is used when the file is animated in a TImageEnView or TImageEnMView.

When reading, the value will be the first valid tag as follows:
"Cine Rate" (0018, 0040)
"Recommended Display Frame Rate" (0008, 2144)
"Frame Time" (0018, 1063)

If none of these are valid, result will be 0.

When setting DICOM_FrameTime, "Cine Rate" (0018, 0040) and "Recommended Display Frame Rate" (0008, 2144) will be overwritten if they are valid. "Frame Time" (0018, 1063) will always be added/updated.

Note:
Generic access to display time is available with ImageDelayTime.
When loading to TImageEnView, ImageDelayTime will be automatically filled with this value.


Example

// Show frame for 1 second
ImageEnView1.IO.Params.DICOM_FrameTime := 1000;