MatrixObject::GetPaletteInfo

 

Description

get colormap palette info

Syntax

int GetPaletteInfo( string & strPal, DWORD & dwCntrl )

Parameters

strPal
[output] full path palette file name
dwCntrl
[output] control bits, see MATOBJPALETTE

Return

Returns 0 on successful or a negative number on failure if image matrix or there is no colormap.

Examples

Remark

See Also

MatrixObject::ApplyPalette

header to Included

origin.h