←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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.