Visual Basic (Declaration) | |
---|---|
Public Sub SetAnimationPalette( _ ByVal palette() As RasterColor _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetAnimationPalette( RasterColor[] palette ) |
C++/CLI | |
---|---|
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.
For an example, refer to CodecsGifOptions.
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family