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

TcxCustomImage.AnimationOptions Property

Provides access to the animation settings applied to the image editor.

#Declaration

Delphi
property AnimationOptions: TcxImageAnimationOptions read; write;

#Property Value

Type
TcxImageAnimationOptions

#Remarks

These settings are in effect if an animated GIF image is loaded to the editor. Refer to the TcxImageAnimationOptions property description to learn about the settings.

For in-depth control over the animation and frame rendering, use the following members provided by the TdxCustomSmartImage class declared in the dxSmartImage unit:

To access these members, cast the graphic object accessible via the image editor’s Picture.Graphic property to TdxSmartImage (a TdxCustomSmartImage descendant). The following code shows how to call the StopAnimation method to stop the animation in progress:

Delphi
TdxSmartImage(<cxImageEditor>.Picture.Graphic).StopAnimation;
See Also