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

Contiene metodi di estensione per la classe `Imaging.Font`.
## Metodi

| Metodo | Descrizione |
| --- | --- |
| [toGdiFont(Font font)](#toGdiFont-com.aspose.imaging.Font-) | Converte il `Imaging.Font` in `System.Drawing.Font`. |
| [toGdiFont(Font font, int fontUnit)](#toGdiFont-com.aspose.imaging.Font-int-) | Converte il `Font` in `System.Drawing.Font`. |
### toGdiFont(Font font) {#toGdiFont-com.aspose.imaging.Font-}
```
public static Font toGdiFont(Font font)
```


Converte il `Imaging.Font` in `System.Drawing.Font`.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | Il `Imaging.Font` da convertire. |

**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)
```


Converte il `Font` in `System.Drawing.Font`.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | Il `Font` da convertire. |
| fontUnit | int | Nuova unità grafica |

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