System::Drawing::Font::GetHeight método
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.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.
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++