---
title: "Pen..::.ToGdiplusPen Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_Pen_ToGdiplusPen.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Pen.ToGdiplusPen Method 
 
Converts the pen to [System.Drawing.Pen](http://msdn2.microsoft.com/en-us/9f23c0f4) class.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Function ToGdiplusPen As Pen
```
 
```csharp
public Pen ToGdiplusPen()
```
 
### Return Value
Pen converted to [System.Drawing.Pen](http://msdn2.microsoft.com/en-us/9f23c0f4) class.
   
## See Also

### Reference

- [Pen Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Pen.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
