## GraphicsPath::Widen method


Replaces this path with an outline around the original path.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::Widen(const SharedPtr<Pen> &pen)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | A [Pen](../../../system.drawing/pen/) object that specifies the width between the original and the new outlines |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../../system.drawing/pen/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
