Partager 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

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

Property Value

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