GetHeight()
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)
Arguments
Parameter | Type | Description |
---|---|---|
graphics | const SharedPtr<Graphics>& | A Graphics object that specifies the measurement units |
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)
Arguments
Parameter | Type | Description |
---|---|---|
dpi | float | The vertical resolution of the display device |
Return Value
The hegiht of the font in pixels
See Also
- Typedef SharedPtr
- Class Graphics
- Class Font
- Namespace System::Drawing
- Library Aspose.Slides