Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
UseAnimationBackground Property
See Also 
Leadtools.Codecs Namespace > CodecsGifOptions.CodecsGifSaveOptions Class : UseAnimationBackground Property



Gets or sets sets a value indicating whether to use AnimationBackground when saving GIF images.

Syntax

Visual Basic (Declaration) 
Public Property UseAnimationBackground As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsGifOptions.CodecsGifSaveOptions
Dim value As Boolean
 
instance.UseAnimationBackground = value
 
value = instance.UseAnimationBackground
C# 
public bool UseAnimationBackground {get; set;}
C++/CLI 
public:
property bool UseAnimationBackground {
   bool get();
   void set (bool value);
}

Return Value

true to use AnimationBackground when saving GIF images; otherwise, false.

Example

For an example, refer to CodecsGifOptions.

Remarks

To save GIF images with an animation background, set the value of the UseAnimationBackground to true then set the animation background value in the AnimationBackground property prior of calling the RasterCodecs.Save method.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also