API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > OdExGiRasterImage::setPalNumColors Method
OdExGiRasterImage::setPalNumColors Method
Syntax
C++
void setPalNumColors(OdUInt32 numColors);
Parameters 
Description 
OdUInt32 numColors 
[in] Number of colors. 

Sets the number of colors in the palette of this RasterImage object.

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