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


Devuelve el interlineado de la fuente representada por el objeto actual, en la unidad actual de un objeto [Graphics](../../graphics/) especificado

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| graphics | const SharedPtr\<Graphics\>\& | Un objeto [Graphics](../../graphics/) que especifica las unidades de medida |

## Ver también

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


Devuelve la altura de la fuente representada por el objeto actual cuando se dibuja en un dispositivo de pantalla con la resolución vertical especificada.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| dpi | float | La resolución vertical del dispositivo de pantalla |

### ReturnValue

La altura de la fuente en píxeles

## Ver también

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