IAdornmentElement Interface

Definition

Represents a sequence element that consists of an adornment.

public interface class IAdornmentElement : Microsoft::VisualStudio::Text::Formatting::ISequenceElement
public interface class IAdornmentElement : Microsoft::VisualStudio::Text::Formatting::ISequenceElement
__interface IAdornmentElement : Microsoft::VisualStudio::Text::Formatting::ISequenceElement
public interface IAdornmentElement : Microsoft.VisualStudio.Text.Formatting.ISequenceElement
type IAdornmentElement = interface
    interface ISequenceElement
Public Interface IAdornmentElement
Implements ISequenceElement
Implements

Properties

Affinity

Gets the PositionAffinity of the adornment.

Baseline

The distance (in logical pixel)s between the top of the adornment text and the baseline of the ITextViewLine.

BottomSpace

The amount of space (in logical pixels) to reserve below the bottom of the text in the ITextViewLine.

IdentityTag

Gets the unique identifier associated with this adornment.

ProviderTag

Gets the unique identifier associated with the provider of the adornment.

ShouldRenderText

Determines whether the text in the span should be rendered in the ITextViewLine.

(Inherited from ISequenceElement)
Span

Gets the IMappingSpan of the element.

(Inherited from ISequenceElement)
TextHeight

Gets the height of the adornment text.

TopSpace

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

Width

Gets the width of the adornment (in logical pixels).

Applies to