SpaceNegotiatingAdornmentTag 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
用來排序一致裝飾的系結中斷器。