Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

SetAnimationPalette Method








An array of RasterColor object that represents the current animation palette to use when saving GIF files.
Sets the animation palette used when saving GIF files.
Syntax
public void SetAnimationPalette( 
   RasterColor[] palette
)
'Declaration
 
Public Sub SetAnimationPalette( _
   ByVal palette() As RasterColor _
) 
'Usage
 
Dim instance As CodecsGifSaveOptions
Dim palette() As RasterColor
 
instance.SetAnimationPalette(palette)
public void SetAnimationPalette( 
   RasterColor[] palette
)
@property (nonatomic, strong, nullable) NSArray<LTRasterColor *> *animationPalette
 function Leadtools.Codecs.CodecsGifSaveOptions.SetAnimationPalette( 
   palette 
)
public:
void SetAnimationPalette( 
   array<RasterColor>^ palette
) 

Parameters

palette
An array of RasterColor object that represents the current animation palette to use when saving GIF files.
Remarks

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.

Example
For an example, refer to CodecsGifOptions.
Requirements

Target Platforms

See Also

Reference

CodecsGifSaveOptions Class
CodecsGifSaveOptions Members
Implementing GIF Features

Error processing SSI file