## Pen::set_Color method


Sets this pen's color.

```cpp
void System::Drawing::Pen::set_Color(const Color &color)
```


| Parameter | Type | Description |
| --- | --- | --- |
| color | const Color\& | The value to set |

## See Also

* Class [Color](../../color/)
* Class [Pen](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
