Compartilhar via


IAdornmentElement.TopSpace Property

Gets the amount of space (in logical pixels) to reserve above top of the text for the ITextViewLine.

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

Syntax

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

Property Value

Type: Double
The amount of space (in logical pixels) to reserve above top of the text for the ITextViewLine.

.NET Framework Security

See Also

Reference

IAdornmentElement Interface

Microsoft.VisualStudio.Text.Formatting Namespace