---
title: "Font..::.GetBlackBox Method (Char)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_Font_GetBlackBox_1_391855ca.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.GetBlackBox Method (Char)
 
Returns a rectangle that describes the character black box.
 
**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 GetBlackBox ( _symbol As Char _
) As RectangleF
```
 
```csharp
public RectangleF GetBlackBox(char symbol
)
```
 
### Parameters
 
 - symbol
     - Type: [System.Char](http://msdn2.microsoft.com/en-us/k493b04s)
Character to retrieve black box for.
 
### Return Value
The rectangle that describes the character black box.
 
## Remarks
  
Character black box is a tightest bounding rectangle of the glyph in the character cell. This way you can calculate actual height of the character without any leading whitespaces.
   
## See Also

### Reference

- [Font Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md)
- [GetBlackBox Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Drawing_Font_GetBlackBox.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
