Leadtools.Codecs Namespace > CodecsGifSaveOptions Class : SetAnimationPalette Method |
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 )
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.
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