System::Drawing::Bitmap::MakeTransparent method

Bitmap::MakeTransparent method

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

void System::Drawing::Bitmap::MakeTransparent(Color transparent_color=Color::get_LightGray())
ParameterTypeDescription
transparent_colorColorThe color of the pixels whose color to change

See Also