AnimationBackColor property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Graphics::TColor AnimationBackColor

Delphi Syntax

AnimationBackColor: TColor

Overview

Refer to Playing an Animation.

Remarks

Background color for animation playback.

This property applies to the temporary target bitmap that LEADTOOLS creates for animation playback.

This property is initialized when you take any of the following actions which create or replace the control's bitmap list:

image\sqrblit.gif Load an image file.

image\sqrblit.gif Capture an image from the screen.

image\sqrblit.gif Copy another control's bitmap list by assigning the BitmapList property.

When you load an animated GIF file, the initial value is based on the global background color specified in the file. Otherwise, the default is black.

When you save an animated GIF file, this value is saved as a global value in the file.

When setting this property, you can specify a COLORREF value (the return value of the RGB function).

See Also

Elements:

AnimationBitsPerPixel property, AnimationPalette property, AnimationWidth property, AnimationHeight property

Topics:

Raster Images: Saving Files

 

Raster Images: Getting and Setting File Information

 

Raster Images: Playing Animated Images

 

Using Color Values in LEADTOOLS