Partilhar via


IStructureTag.GuideLineSpan Property

Definition

Gets the vertical span within which the block structure adornment will be drawn.

public:
 property Nullable<Microsoft::VisualStudio::Text::Span> GuideLineSpan { Nullable<Microsoft::VisualStudio::Text::Span> get(); };
public Microsoft.VisualStudio.Text.Span? GuideLineSpan { get; }
member this.GuideLineSpan : Nullable<Microsoft.VisualStudio.Text.Span>
Public ReadOnly Property GuideLineSpan As Nullable(Of Span)

Property Value

Remarks

For a block to have an adornment, it must not be of type Nonstructural, and the implementer must also provide the GuideLineHorizontalAnchor. The adornment is drawn from the top of the line containing the start of the span to the bottom of the line containing the bottom of the span. If null, the GuideLineSpan is inferred from the OutliningSpan and the HeaderSpan.

Applies to