LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

SetAnimationPalette Method






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. .NET support WinRT support Silverlight support
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
)
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsGifSaveOptions Class
CodecsGifSaveOptions Members
Implementing GIF Features

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.