GdPicture.NET Reference Guide
PaletteSet Method





GdPicture14 Namespace > GdPictureImaging Class : PaletteSet Method
GdPicture image identifier.
Output parameter. Array of Color Objects. Color entries of the palette.
Sets a new color palette to a GdPicture image.
Syntax
'Declaration
 
Public Function PaletteSet( _
   ByVal ImageID As Integer, _
   ByVal ColorEntries() As Color _
) As GdPictureStatus
public GdPictureStatus PaletteSet( 
   int ImageID,
   Color[] ColorEntries
)
public function PaletteSet( 
    ImageID: Integer;
    ColorEntries: Colorarray of
): GdPictureStatus; 
public function PaletteSet( 
   ImageID : int,
   ColorEntries : Color[]
) : GdPictureStatus;
public: GdPictureStatus PaletteSet( 
   int ImageID,
   Color[]* ColorEntries
) 
public:
GdPictureStatus PaletteSet( 
   int ImageID,
   array<Color>^ ColorEntries
) 

Parameters

ImageID
GdPicture image identifier.
ColorEntries
Output parameter. Array of Color Objects. Color entries of the palette.

Return Value

A member of the GdPictureStatus enumeration.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members