System::Drawing::Font::GetHeight method
Contents
[
Hide
]Font::GetHeight(const SharedPtr<Graphics>&) method
Returns the line spacing of the font represented by the current object, in the current unit of a specified Graphics object.
float System::Drawing::Font::GetHeight(const SharedPtr<Graphics> &graphics)
Parameter | Type | Description |
---|---|---|
graphics | const SharedPtr<Graphics>& | A Graphics object that specifies the measurement units |
See Also
- Typedef SharedPtr
- Class Graphics
- Class Font
- Namespace System::Drawing
- Library Aspose.TeX for C++
Font::GetHeight(float) method
Returns the height of the font represented by the current object when drawn to a display device with the specified vertical resolution.
float System::Drawing::Font::GetHeight(float dpi=DEFAULT_FONT_OPERATIONS_DPI)
Parameter | Type | Description |
---|---|---|
dpi | float | The vertical resolution of the display device |
ReturnValue
The hegiht of the font in pixels
See Also
- Class Font
- Namespace System::Drawing
- Library Aspose.TeX for C++