**Inheritance:**
java.lang.Object
```
public final class FontExtensions
```

Contiene métodos de extensión para la clase `Imaging.Font`.
## Métodos

| Método | Descripción |
| --- | --- |
| [toGdiFont(Font font)](#toGdiFont-com.aspose.imaging.Font-) | Convierte el `Imaging.Font` a `System.Drawing.Font`. |
| [toGdiFont(Font font, int fontUnit)](#toGdiFont-com.aspose.imaging.Font-int-) | Convierte el `Font` a `System.Drawing.Font`. |
### toGdiFont(Font font) {#toGdiFont-com.aspose.imaging.Font-}
```
public static Font toGdiFont(Font font)
```


Convierte el `Imaging.Font` a `System.Drawing.Font`.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | El `Imaging.Font` a convertir. |

**Returns:**
[Font](../../java.awt/font) - The converted `System.Drawing.Font`.
### toGdiFont(Font font, int fontUnit) {#toGdiFont-com.aspose.imaging.Font-int-}
```
public static Font toGdiFont(Font font, int fontUnit)
```


Convierte el `Font` a `System.Drawing.Font`.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | El `Font` a convertir. |
| fontUnit | int | Nueva unidad gráfica |

**Returns:**
[Font](../../java.awt/font) - The converted `System.Drawing.Font`.
