---
title: "CustomTextSpan.SetFontName Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Templates_CustomTextSpan_SetFontName_1_bb3a7a4f.htm
product: "Graphics Mill"
---

# CustomTextSpan.SetFontName Method 
 
Sets the font name for the text span.
 
**Namespace:** [Aurigma.GraphicsMill.Templates](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Templates (in Aurigma.GraphicsMill.Templates.dll)
 
## Syntax
  
```csharp
public void SetFontName(string fontName
)
```
 
### Parameters
 
 - fontName
     - Type: System.String
The font name to set.
   
## See Also

### Reference

- [CustomTextSpan Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Templates_CustomTextSpan.htm.md)
- [Aurigma.GraphicsMill.Templates Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
