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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.