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
- 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.