Поделиться через


CImage::SetTransparentColor

Sets a color at a given indexed location as transparent.

LONG SetTransparentColor(
   LONG iTransparentColor 
) throw( );

Параметры

  • iTransparentColor
    The index, in a color palette, of the color to set to transparent. If –1, no color is set to transparent.

Возвращаемое значение

The index of the color previously set as transparent.

Требования

Header: atlimage.h

См. также

Основные понятия

CImage Class

CImage Members

CImage::GetTransparentColor