LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetAnimationPalette Method
See Also 
Leadtools.Codecs Namespace > CodecsGifSaveOptions Class : GetAnimationPalette Method



Gets the animation palette to use when saving GIF files.

Syntax

Visual Basic (Declaration) 
Public Function GetAnimationPalette() As RasterColor()
Visual Basic (Usage)Copy Code
Dim instance As CodecsGifSaveOptions
Dim value() As RasterColor
 
value = instance.GetAnimationPalette()
C# 
public RasterColor[] GetAnimationPalette()
C++/CLI 
public:
array<RasterColor>^ GetAnimationPalette(); 

Example

For an example, refer to CodecsGifOptions.

Remarks

The palette stored in GetAnimationPalette is only used when the value of UseAnimationPalette is set to true.

Use SetAnimationPalette to change the animation palette to use when saving GIF files.

Requirements

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

See Also