System::Drawing::Font::GetHeight method
Contenido
[
Ocultar
]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 especificado.
float System::Drawing::Font::GetHeight(const SharedPtr<Graphics> &graphics)
| Parámetro | Tipo | Descripción |
|---|---|---|
| graphics | const SharedPtr<Graphics>& | Un objeto Graphics que especifica las unidades de medida |
Ver también
- Typedef SharedPtr
- Class Graphics
- Class Font
- Namespace System::Drawing
- Library Aspose.PDF 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.
float System::Drawing::Font::GetHeight(float dpi=96.f)
| 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.PDF for C++