Share via


IFormattedLineSource.LineHeight Property

Gets the nominal height of a line.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
ReadOnly Property LineHeight As Double
double LineHeight { get; }
property double LineHeight {
    double get ();
}
abstract LineHeight : float with get
function get LineHeight () : double

Property Value

Type: Double
The nominal height of a line.

Remarks

This will not, in general, be the same as TextHeightAboveBaseline + TextHeightBelowBaseline, since there is might be some padding between lines.

.NET Framework Security

See Also

Reference

IFormattedLineSource Interface

Microsoft.VisualStudio.Text.Formatting Namespace