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