Skip to main content

TcxCustomImage.AnimationOptions Property

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

Declaration

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:

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