SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object) Konstruktor

Definition

Initialisiert eine neue Instanz eines SpaceNegotiatingAdornmentTag mit den angegebenen Eigenschaften.

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)

Parameter

width
Double

Die Breite des Tags in Pixel.

topSpace
Double

Der zwischen dem oberen Rand des Texts in der ITextViewLine und dem oberen Rand der ITextViewLine benötigte Platz.

baseline
Double

Die Baseline des Zusatzelements mit Platzausgleich.

textHeight
Double

Die Höhe des Textteils des Zusatzelements mit Platzausgleich in Pixel.

bottomSpace
Double

Der zwischen dem unteren Rand des Texts in der ITextViewLine und dem unteren der benötigte Platz ITextViewLine .

affinity
PositionAffinity

Die PositionAffinity des Zusatzelements mit Platzausgleich.

identityTag
Object

Ein eindeutiges Objekt, das dem Zusatzelement mit Platz Ausgleich zugeordnet ist, das von verwendet wird ITextViewLine . Getadornmentbounds.

providerTag
Object

Ein eindeutiges Objekt, das den Anbieter des Zusatzelements identifiziert, von GetAdornmentTags(Object) verwendet.

Gilt für