CImage::SetTransparentColor

在给定标记的位置设置颜色为透明。

LONG SetTransparentColor(
   LONG iTransparentColor 
) throw( );

参数

  • iTransparentColor
    索引,在调色板设置,颜色设置为透明。 如果– 1中,没有颜色设置为透明。

返回值

为透明之前设置颜色的索引。

要求

Header: atlimage.h

请参见

参考

CImage选件类

CImage::GetTransparentColor