API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > OdExGiRasterImage::setTransparentColor Method
OdExGiRasterImage::setTransparentColor Method
Syntax
C++
void setTransparentColor(int nTransparentColor);
Parameters 
Description 
int nTransparentColor 
[in] Transparent color index. 

Sets transparent color index or -1 if no transparent colors available in this raster image. 

 

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