MakeTransparent()

Bitmap::MakeTransparent(Color) method

Changes the color of all pixels with the specified color to transparent.

void System::Drawing::Bitmap::MakeTransparent(Color transparent_color=Color::get_LightGray())

Arguments

ParameterTypeDescription
transparent_colorColorThe color of the pixels whose color to change

See Also