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



Gets or sets a value indicating the global background color of the animation image.

Syntax

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

Return Value

A Size structure that indicates global background color of the animation image.

Example

For an example, refer to AnimationGlobalLoop

Remarks

This is the global background color used for entire image. For the background color used in individual frames, see AnimationBackground.

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