GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / PaletteSet Method
GdPicture image identifier.
Output parameter. Array of Color Objects. Color entries of the palette.





In This Topic
PaletteSet Method (GdPictureImaging)
In This Topic
Sets a new color palette to a GdPicture image.
Syntax
'Declaration
 
Public Function PaletteSet( _
   ByVal ImageID As Integer, _
   ByVal ColorEntries() As GdPictureColor _
) As GdPictureStatus
public GdPictureStatus PaletteSet( 
   int ImageID,
   GdPictureColor[] ColorEntries
)
public function PaletteSet( 
    ImageID: Integer;
    ColorEntries: GdPictureColorarray of
): GdPictureStatus; 
public function PaletteSet( 
   ImageID : int,
   ColorEntries : GdPictureColor[]
) : GdPictureStatus;
public: GdPictureStatus PaletteSet( 
   int ImageID,
   GdPictureColor[]* 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