Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSmartImage.Animation Property

Specifies if the animation playback of the stored animated GIF image is enabled.

#Declaration

Delphi
property Animation: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

You can use this property to control the GIF image animation playback (i.e., consecutive rendering of image frames). To stop the GIF animation playback at the currently displayed frame, set the Animation property to False. To resume the paused playback, set this property back to True.

The number of animation loops set for the stored GIF image playback is determined by the AnimationLoop and AnimationLoopCount property values. If the number of animation loops is limited, you can track the number of played loops and/or change the number of loops left for the animation before it stops by using the AnimationLoopIndex property.

Note

Alternatively, you can use the StartAnimation and StopAnimation procedures to control the GIF animation playback.

See Also