---
title: "Font Constructor (String, Single, Boolean, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Drawing_Font_ctor_4_34e4060e.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/)

# Font Constructor (String, Single, Boolean, Boolean)
 
Creates new [Font](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md) class instance. Here you can specify font typeface name, its size, and if font should be bold and/or italic.
 
**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 ( _familyName As String, _size As Single, _bold As Boolean, _italic As Boolean _
)
```
 
```csharp
public Font(string familyName,float size,bool bold,bool italic
)
```
 
### Parameters
 
 - familyName
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
Font typeface name. You can change this value later through property [Name](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Font_Name.htm.md).

 - size
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Font size. You can change this value later through property [Size](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Font_Size.htm.md).

 - bold
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value specifying if font should be bold. You can change this value later through property [Bold](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Font_Bold.htm.md).

 - italic
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value specifying if font should be italic. You can change this value later through property [Italic](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Font_Italic.htm.md).
   
## See Also

### Reference

- [Font Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md)
- [Font Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Drawing_Font_ctor.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
