## Font::GetHeight(const SharedPtr\<Graphics\>\&) method


Retourne l'interligne de la police représentée par l'objet actuel, dans l'unité actuelle d'un objet [Graphics](../../graphics/) spécifié.

```cpp
float System::Drawing::Font::GetHeight(const SharedPtr<Graphics> &graphics)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| graphics | const SharedPtr\<Graphics\>\& | Un objet [Graphics](../../graphics/) qui spécifie les unités de mesure |

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Graphics](../../graphics/)
* Class [Font](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Font::GetHeight(float) method


Renvoie la hauteur de la police représentée par l'objet actuel lorsqu'elle est dessinée sur un dispositif d'affichage avec la résolution verticale spécifiée.

```cpp
float System::Drawing::Font::GetHeight(float dpi=DEFAULT_FONT_OPERATIONS_DPI)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| dpi | float | La résolution verticale du dispositif d'affichage |

### ReturnValue

La hauteur de la police en pixels

## Voir aussi

* Class [Font](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
