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

用于订购巧合装饰的领带断路器。

适用于