SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object) Construtor

Definição

Inicializa uma nova instância de um SpaceNegotiatingAdornmentTag com as propriedades especificadas.

public:
 SpaceNegotiatingAdornmentTag(double width, double topSpace, double baseline, double textHeight, double bottomSpace, Microsoft::VisualStudio::Text::PositionAffinity affinity, System::Object ^ identityTag, System::Object ^ providerTag);
public:
 SpaceNegotiatingAdornmentTag(double width, double topSpace, double baseline, double textHeight, double bottomSpace, Microsoft::VisualStudio::Text::PositionAffinity affinity, Platform::Object ^ identityTag, Platform::Object ^ providerTag);
 SpaceNegotiatingAdornmentTag(double width, double topSpace, double baseline, double textHeight, double bottomSpace, Microsoft::VisualStudio::Text::PositionAffinity affinity, winrt::Windows::Foundation::IInspectable const & identityTag, winrt::Windows::Foundation::IInspectable const & providerTag);
public SpaceNegotiatingAdornmentTag (double width, double topSpace, double baseline, double textHeight, double bottomSpace, Microsoft.VisualStudio.Text.PositionAffinity affinity, object identityTag, object providerTag);
new Microsoft.VisualStudio.Text.Tagging.SpaceNegotiatingAdornmentTag : double * double * double * double * double * Microsoft.VisualStudio.Text.PositionAffinity * obj * obj -> Microsoft.VisualStudio.Text.Tagging.SpaceNegotiatingAdornmentTag
Public Sub New (width As Double, topSpace As Double, baseline As Double, textHeight As Double, bottomSpace As Double, affinity As PositionAffinity, identityTag As Object, providerTag As Object)

Parâmetros

width
Double

A largura da marca em pixels.

topSpace
Double

O espaço necessário entre a parte superior do texto no ITextViewLine e na parte superior do ITextViewLine .

baseline
Double

A linha de base do espaço-negociando Adornment.

textHeight
Double

A altura em pixels da parte de texto do espaço-negociando Adornment.

bottomSpace
Double

O espaço necessário entre a parte inferior do texto no ITextViewLine e o inferior do ITextViewLine .

affinity
PositionAffinity

O PositionAffinity do Adornment de negociação de espaço.

identityTag
Object

Um objeto exclusivo associado ao Adornment de negociação de espaço, usado pelo ITextViewLine . GetAdornmentBounds.

providerTag
Object

Um objeto exclusivo que identifica o provedor do Adornment, usado pelo GetAdornmentTags(Object) ).

Aplica-se a