## GetHeight() {#getheight}

このフォントの行間隔をピクセル単位で返します。

```csharp
public float GetHeight()
```

### 戻り値

このフォントの行間隔 (ピクセル単位)。

### 関連項目

* class [Font](../)
* 名前空間 [System.Drawing](../../font/)
* 組み立て [Aspose.Drawing](../../../)

---

## GetHeight(Graphics) {#getheight_2}

指定された現在の単位で行間を返しますGraphics、このフォントの。

```csharp
public float GetHeight(Graphics graphics)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| graphics | Graphics | あGraphicsディスプレイ デバイスの垂直方向の解像度 (1 インチあたりのドット数) と、ページ単位およびページ スケールの設定を保持します。 |

### 戻り値

このフォントの行間隔 (ピクセル単位)。

### 関連項目

* class [Graphics](../../graphics/)
* class [Font](../)
* 名前空間 [System.Drawing](../../font/)
* 組み立て [Aspose.Drawing](../../../)

---

## GetHeight(float) {#getheight_1}

この高さをピクセル単位で返しますFont指定された垂直解像度でデバイスに描画されたとき.

```csharp
public float GetHeight(float dpi)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| dpi | Single | フォントの高さを計算するために使用される垂直解像度 (1 インチあたりのドット数)。 |

### 戻り値

これのピクセル単位の高さFont.

### 関連項目

* class [Font](../)
* 名前空間 [System.Drawing](../../font/)
* 組み立て [Aspose.Drawing](../../../)


