FontFamily.GetLineSpacing
FontFamily.GetLineSpacing method
Returns the line spacing, in design units, of the FontFamily of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text.
public int GetLineSpacing(FontStyle style)
Parameter | Type | Description |
---|---|---|
style | FontStyle | The FontStyle to apply. |
Return Value
The distance between two consecutive lines of text.
See Also
- enum FontStyle
- class FontFamily
- namespace System.Drawing
- assembly Aspose.Drawing