Partager via


IAdornmentElement.TextHeight Property

Gets the height of the adornment text.

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

Syntax

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

Property Value

Type: System.Double
The height of the adornment text.

Remarks

This affects the amount of space reserved for text on an ITextViewLine, which is used to determine the vertical size of the caret.

.NET Framework Security

See Also

Reference

IAdornmentElement Interface

Microsoft.VisualStudio.Text.Formatting Namespace