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)

double LineHeight { get; }

Property Value

Type: System.Double
The nominal height of a line.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft