共用方式為


SpaceNegotiatingAdornmentTag 建構函式

定義

多載

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

使用指定的屬性,初始化 的新實例 SpaceNegotiatingAdornmentTag

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

使用指定的屬性,初始化 的新實例 SpaceNegotiatingAdornmentTag

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

使用指定的屬性,初始化 的新實例 SpaceNegotiatingAdornmentTag

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)

參數

width
Double

卷標的寬度,以像素為單位。

topSpace
Double

ITextViewLine 文字頂端與 頂端 ITextViewLine之間所需的空間。

baseline
Double

空間交涉裝飾的基準。

textHeight
Double

空間交涉裝飾之文字部分的高度以像素為單位。

bottomSpace
Double

ITextViewLine 文字底部與的Botton ITextViewLine之間所需的空間。

affinity
PositionAffinity

PositionAffinity空間交涉裝飾的 。

identityTag
Object

與空間交涉裝飾相關聯的唯一物件,由 ITextViewLine使用。GetAdornmentBounds。

providerTag
Object

唯一對象,識別) 所使用的 GetAdornmentTags(Object) 裝飾提供者。

適用於

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

使用指定的屬性,初始化 的新實例 SpaceNegotiatingAdornmentTag

public SpaceNegotiatingAdornmentTag (double width, double topSpace, double baseline, double textHeight, double bottomSpace, Microsoft.VisualStudio.Text.PositionAffinity affinity, object identityTag, object providerTag, double ranking);
new Microsoft.VisualStudio.Text.Tagging.SpaceNegotiatingAdornmentTag : double * double * double * double * double * Microsoft.VisualStudio.Text.PositionAffinity * obj * obj * double -> 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, ranking As Double)

參數

width
Double

卷標的寬度,以像素為單位。

topSpace
Double

ITextViewLine 文字頂端與 頂端 ITextViewLine之間所需的空間。

baseline
Double

空間交涉裝飾的基準。

textHeight
Double

空間交涉裝飾之文字部分的高度以像素為單位。

bottomSpace
Double

ITextViewLine 文字底部與的Botton ITextViewLine之間所需的空間。

affinity
PositionAffinity

PositionAffinity空間交涉裝飾的 。

identityTag
Object

與空間交涉裝飾相關聯的唯一物件,由 ITextViewLine使用。GetAdornmentBounds。

providerTag
Object

唯一對象,識別) 所使用的 GetAdornmentTags(Object) 裝飾提供者。

ranking
Double

用來排序一致裝飾的系結中斷器。

適用於