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



Gets or sets the animation palette used when saving GIF files.

Syntax

Visual Basic (Declaration) 
Public Property AnimationPalette As Color()
Visual Basic (Usage)Copy Code
Dim instance As CodecsGifOptions.CodecsGifSaveOptions
Dim value() As Color
 
instance.AnimationPalette = value
 
value = instance.AnimationPalette
C# 
public Color[] AnimationPalette {get; set;}
C++/CLI 
public:
property array<Color>^ AnimationPalette {
   array<Color>^ get();
   void set (Colorarray<value>^ value);
}

Return Value

An array of Color structure that specify the animation palette to use when saving GIF files.

Example

For an example, refer to CodecsGifOptions.

Remarks

To set up an animation loop when saving GIF images, set the value of the UseAnimationPalette property to true then set the palette to use in the AnimationPalette property.

Requirements

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

See Also