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



Gets or sets a value indicating the global background color of the animation image. Supported in Silverlight, Windows Phone 7

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);
}

Property Value

A LeadSize 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 Leadtools.RasterImage.AnimationBackground.

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

For more information, refer to Implementing Animation.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also