GdPicture.NET.14
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 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