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 | |
---|---|---|
Affinity | Gets the PositionAffinity of the adornment. | |
Baseline | Gets the distance (in logical pixel)s between the top of the adornment text and the baseline of the ITextViewLine. | |
BottomSpace | Gets 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). |
Top