Partager 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

'Déclaration
ReadOnly Property LineHeight As Double
    Get
double LineHeight { get; }
property double LineHeight {
    double get ();
}
abstract LineHeight : float
function get LineHeight () : double

Property Value

Type: System.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