ImageEn, unit iemview

TImageEnMView.Playing

TImageEnMView.Playing


Declaration

property Playing: boolean;


Description

Enable Playing to display each image consecutively for its ImageDelayTime time.
During playback, DisplayMode property is set to mdSingle and the Deselect method is called.
If PlayLoop is enabled then the animation will replay continuously.

Note: To center the displayed frame, use ietxCenterSingleFrame

Default: False


Example

// Animate current multi-frame file (showing each frame for 1 second)
ImageEnMView1.ThumbnailOptionsEx := ImageEnMView1.ThumbnailOptionsEx + [ietxCenterSingleFrame];
ImageEnMView1.ShowText := False;
ImageEnMView1.PlaySpeed := ImageEnMView1.ImageDelayTime[0] / 1000;
ImageEnMView1.Playing := True;


See Also

PlaySpeed
PlayLoop