Description
Gets the color palette of this Image object.
Syntax
GpStatus WINGDIPAPI GdipGetImagePalette(
GpImage *image,
ColorPalette
*palette,
INT size
);
PowerBASIC Syntax
DECLARE FUNCTION GdipGetImagePalette ( _
BYVAL pImage AS
DWORD, _
BYREF palette
AS ColorPalette, _
BYVAL psize AS
LONG _
) AS LONG
Parameters
image
[in] Pointer to the Image object.
palette
[out] Pointer to a ColorPalette structure that receives the
palette.
size
[in] Long integer value that specifies the size, in bytes, of the
palette. Call the GdipGetPaletteSize method to determine the size.
|