다음을 통해 공유


CImage::SetTransparentColor

Sets a color at a given indexed location as transparent.

LONG SetTransparentColor(
   LONG iTransparentColor 
) throw( );

Parameters

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

Return Value

The index of the color previously set as transparent.

Requirements

Header: atlimage.h

See Also

Concepts

CImage Class

CImage Members

CImage::GetTransparentColor