←Select platform

SetAnimationPalette Method

Summary

Sets the animation palette used when saving GIF files.

Syntax
C#
VB
Objective-C
C++
public void SetAnimationPalette( 
   RasterColor[] palette 
) 
Public Sub SetAnimationPalette( _ 
   ByVal palette() As RasterColor _ 
)  
@property (nonatomic, strong, nullable) NSArray<LTRasterColor *> *animationPalette 
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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly