- palette
- An array of Leadtools.RasterColor object that represents the current animation palette to use when saving GIF files.
Visual Basic (Declaration) | |
---|---|
Public Sub SetAnimationPalette( _ ByVal palette() As RasterColor _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsGifSaveOptions Dim palette() As RasterColor instance.SetAnimationPalette(palette) |
C# | |
---|---|
public void SetAnimationPalette( RasterColor[] palette ) |
C++/CLI | |
---|---|
public: void SetAnimationPalette( array<RasterColor>^ palette ) |
Parameters
- palette
- An array of Leadtools.RasterColor object that represents the current animation palette to use when saving GIF files.
For an example, refer to CodecsGifOptions.
The palette set with SetAnimationPalette is only used when the value of UseAnimationPalette is set to true.
Use GetAnimationPalette to get the animation palette to use when saving GIF files.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)