ImageEn, unit imageenview

TImageEnView.Playing

TImageEnView.Playing


Declaration

property Playing : boolean;


Description

Set Playing to True to animate multi-frame images, such as GIF and AVI files. If PlayLoop is enabled then the animation will replay continuously

Notes:
- Playing cannot be used with streams or LoadFromURL
- Playing loads each frame on demand, which means that animations with short display times may appear jerky. You may prefer to use TImageEnMView.Playing which preloads all frames

Default False


Example

// Animate current multi-frame file (showing each frame for 1 second)
ImageEnView1.PlaySpeed := ImageEnView1.IO.Params.ImageDelayTime / 1000;
ImageEnView1.Playing := True;


See Also

- PlaySpeed
- PlayLoop