Freigeben über


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

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

Property Value

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