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

Enthält Erweiterungsmethoden für die Klasse `Imaging.Font`.
## Methoden

| Methode | Beschreibung |
| --- | --- |
| [toGdiFont(Font font)](#toGdiFont-com.aspose.imaging.Font-) | Konvertiert das `Imaging.Font` in das `System.Drawing.Font`. |
| [toGdiFont(Font font, int fontUnit)](#toGdiFont-com.aspose.imaging.Font-int-) | Konvertiert das `Font` in das `System.Drawing.Font`. |
### toGdiFont(Font font) {#toGdiFont-com.aspose.imaging.Font-}
```
public static Font toGdiFont(Font font)
```


Konvertiert das `Imaging.Font` in das `System.Drawing.Font`.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | Das `Imaging.Font` zum Konvertieren. |

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


Konvertiert das `Font` in das `System.Drawing.Font`.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | Das `Font` zum Konvertieren. |
| fontUnit | int | Neue Grafikeinheit |

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