---
title: "Font..::.CreateSpecificFont Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_Font_CreateSpecificFont_3_18dd7ff5.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.CreateSpecificFont Method 
 
Returns a font with the requested name.
 
**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 Shared Function CreateSpecificFont ( _fontName As String, _postScriptName As Boolean, _size As Single _
) As Font
```
 
```csharp
public static Font CreateSpecificFont(string fontName,bool postScriptName,float size
)
```
 
### Parameters
 
 - fontName
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
Name of the font installed on the computer.

 - postScriptName
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
A value that specifies if fontName is in the PostScript format.

 - size
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Size of the requested font.
 
### Return Value
Requested font or **null** if no font with the fontName name can be found.
   
## See Also

### Reference

- [Font Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
