## Bitmap::MakeTransparent method


Changes the color of all pixels with the specified color to transparent.

```cpp
void System::Drawing::Bitmap::MakeTransparent(Color transparent_color=Color::get_LightGray())
```


| Parameter | Type | Description |
| --- | --- | --- |
| transparent_color | Color | The color of the pixels whose color to change |

## See Also

* Class [Color](../../color/)
* Class [Bitmap](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
