LEADTOOLS Image File Support (Leadtools.Codecs assembly)

SetAnimationPalette Method

Show in webframe







An array of Leadtools.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
)
- (void)setAnimationPalette:(NSArray*)palette;

            
 function Leadtools.Codecs.CodecsGifSaveOptions.SetAnimationPalette( 
   palette 
)
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.
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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.