Compartilhar via


IAdornmentElement Interface

Represents a sequence element that consists of an adornment.

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

Syntax

'Declaration
Public Interface IAdornmentElement _
    Inherits ISequenceElement
public interface IAdornmentElement : ISequenceElement
public interface class IAdornmentElement : ISequenceElement
type IAdornmentElement =  
    interface 
        interface ISequenceElement 
    end
public interface IAdornmentElement extends ISequenceElement

The IAdornmentElement type exposes the following members.

Properties

  Name Description
Public property Affinity Gets the PositionAffinity of the adornment.
Public property Baseline Gets the distance (in logical pixel)s between the top of the adornment text and the baseline of the ITextViewLine.
Public property BottomSpace Gets the amount of space (in logical pixels) to reserve below the bottom of the text in the ITextViewLine.
Public property IdentityTag Gets the unique identifier associated with this adornment.
Public property ProviderTag Gets the unique identifier associated with the provider of the adornment.
Public property ShouldRenderText Determines whether the text in the span should be rendered in the ITextViewLine. (Inherited from ISequenceElement.)
Public property Span Gets the IMappingSpan of the element. (Inherited from ISequenceElement.)
Public property TextHeight Gets the height of the adornment text.
Public property TopSpace Gets the amount of space (in logical pixels) to reserve above top of the text for the ITextViewLine.
Public property Width Gets the width of the adornment (in logical pixels).

Top

See Also

Reference

Microsoft.VisualStudio.Text.Formatting Namespace