Skip to main content

TdxCustomSmartImage.AnimationLoopCount Property

Returns the number of the stored image’s animation playback loops in the multiple-run animation mode.

Declaration

property AnimationLoopCount: Integer read;

Property Value

Type
Integer

Remarks

This property value is obtained from the source animated image file. You can use the AnimationLoopCount and AnimationLoopIndex properties to track the number of remaining animation sequence runs if the multiple-run animation mode is active.

The AnimationLoopCount property returns 0 if either of the following conditions is met:

  • The stored image is not animated;

  • The stored image’s animation sequence is looped indefinitely.

Note

The AnimationLoopCount property value is ignored if the AnimationLoop property is set to bTrue or bFalse.

See Also