←Select platform

SetAnimationPalette Method

Summary

Sets the animation palette used when saving GIF files.

Syntax

C#
VB
Objective-C
WinRT C#
C++
public void SetAnimationPalette( 
   RasterColor[] palette 
) 
Public Sub SetAnimationPalette( _ 
   ByVal palette() As Leadtools.RasterColor _ 
)  
public void SetAnimationPalette(  
   Leadtools.RasterColor[] palette 
) 
@property (nonatomic, strong, nullable) NSArray<LTRasterColor *> *animationPalette 
 function Leadtools.Codecs.CodecsGifSaveOptions.SetAnimationPalette(  
   palette  
) 
public: 
void SetAnimationPalette(  
   Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly