---
title: "Pen Constructor (Pen)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Drawing_Pen_ctor_1_c9c1d12d.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 Constructor (Pen)
 
Constructs new [Pen](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Pen.htm.md) class instance. All pen settings are taken from standard [System.Drawing.Pen](http://msdn2.microsoft.com/en-us/9f23c0f4) object.
 
**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 Sub New ( _pen As Pen _
)
```
 
```csharp
public Pen(Pen pen
)
```
 
### Parameters
 
 - pen
     - Type: [System.Drawing.Pen](http://msdn2.microsoft.com/en-us/9f23c0f4)
 [System.Drawing.Pen](http://msdn2.microsoft.com/en-us/9f23c0f4) class instance which is used to take settings from.
   
## See Also

### Reference

- [Pen Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Pen.htm.md)
- [Pen Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Drawing_Pen_ctor.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
