Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnimationBackground Property
See Also 
Leadtools Namespace > RasterImage Class : AnimationBackground Property



Gets or sets a value indicating the animation background color for the current frame.

Syntax

Visual Basic (Declaration) 
Public Property AnimationBackground As RasterColor
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As RasterColor
 
instance.AnimationBackground = value
 
value = instance.AnimationBackground
C# 
public RasterColor AnimationBackground {get; set;}
C++/CLI 
public:
property RasterColor AnimationBackground {
   RasterColor get();
   void set (RasterColor value);
}

Return Value

A RasterColor structure that indicate the animation background color for the current frame.

Example

For an example, refer to AnimationGlobalLoop

Remarks

This is the background color used for the current frame. To get the global background color for the whole animation see AnimationGlobalBackground.

When the value of this property is changed, the Changed event will fire with RasterImageChangedFlags set to RasterImageChangedFlags.AnimationProperties.

For more information, refer to Implementing Animation.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also