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)
ParameterTypeDescription
styleFontStyleThe FontStyle to apply.

Return Value

The distance between two consecutive lines of text.

See Also