'Declaration
Public Function PaletteGet( _ ByVal ImageID As Integer, _ ByRef ColorEntries() As Color, _ ByRef EntriesCount As Integer _ ) As GdPictureStatus
public GdPictureStatus PaletteGet( int ImageID, ref Color[] ColorEntries, ref int EntriesCount )
public function PaletteGet( ImageID: Integer; var ColorEntries: Colorarray of; var EntriesCount: Integer ): GdPictureStatus;
public function PaletteGet( ImageID : int, ColorEntries : Color[], EntriesCount : int ) : GdPictureStatus;
public: GdPictureStatus PaletteGet( int ImageID, ref Color[]* ColorEntries, ref int EntriesCount )
public: GdPictureStatus PaletteGet( int ImageID, array<Color>^% ColorEntries, int% EntriesCount )
Parameters
- ImageID
- GdPicture image identifier.
- ColorEntries
- Output parameter. Array of Color Objects. Color array which will contain the complete color palette.
- EntriesCount
- Output parameter. Contains the number of colors contained in the ColorEntries() array.
Return Value
A member of the GdPictureStatus enumeration.