API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > GsDIBSection Class > GsDIBSection Methods > GsDIBSection::setPalette Method
GsDIBSection::setPalette Method
Syntax
C++
void setPalette(HPALETTE hPalette);
Parameters 
Description 
HPALETTE hPalette 
[in] Handle of the palette. 

Sets the DIB palette for this DIBSection object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.