ImageEn, unit imageenio

TIOParamsVals.ImageDelayTime

TIOParamsVals.ImageDelayTime


Declaration


property ImageDelayTime : Integer (Read-only)


Description


If the current file supports animation and has multiple frames, then this property provides access to the delay in MS (milliseconds) between images. E.g. if ImageDelayTime = 2000 then each frame should be shown for 2 seconds when animated.

This is a read-only property which provides ready access to one of:
- AVI_FrameDelayTime
- GIF_DelayTime
- MEDIAFILE_FrameDelayTime
- The frame interval tag of DICOM files


Example


// Set frame load timer to correct interval to animate the image
FrameLoadTimer.Interval := ImageEnView1.IO.Params.ImageDelayTime;