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

Содержит методы-расширения для класса `Imaging.Font`.
## Методы

| Метод | Описание |
| --- | --- |
| [toGdiFont(Font font)](#toGdiFont-com.aspose.imaging.Font-) | Преобразует `Imaging.Font` в `System.Drawing.Font`. |
| [toGdiFont(Font font, int fontUnit)](#toGdiFont-com.aspose.imaging.Font-int-) | Преобразует `Font` в `System.Drawing.Font`. |
### toGdiFont(Font font) {#toGdiFont-com.aspose.imaging.Font-}
```
public static Font toGdiFont(Font font)
```


Преобразует `Imaging.Font` в `System.Drawing.Font`.

**Parameters:**
| Параметр | Тип | Описание |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | `Imaging.Font` для преобразования. |

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


Преобразует `Font` в `System.Drawing.Font`.

**Parameters:**
| Параметр | Тип | Описание |
| --- | --- | --- |
| font | [Font](../../com.aspose.imaging/font) | `Font` для преобразования. |
| fontUnit | int | Новая графическая единица |

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