## Graphics::Clear method


Clears the drawing surface represented by the current object and fills it with the specified color.

```cpp
void System::Drawing::Graphics::Clear(Color color)
```


| Parameter | Type | Description |
| --- | --- | --- |
| color | Color | The color to fill the surface with |

## See Also

* Class [Color](../../color/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
