ImageEn, unit iexBitmaps

TIOParams.ImageDelayTime

TIOParams.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 property provides generic access to one of (depending on FileType):
AVI_FrameDelayTime
DICOM_FrameTime
GIF_DelayTime
MEDIAFILE_FrameDelayTime

Note:
This delay should not be used to adjust playback speed in TImageEnView when Playing is set to true. Instead use PlaySpeed.
Playback intervals in TImageEnView is controlled by ImageDelayTime


Example

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


See Also

TImageEnView.PlaySpeed
TImageEnMView.PlaySpeed