SpaceNegotiatingAdornmentTag Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object) |
Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties. |
SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object, Double) |
Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties. |
SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object)
Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.
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)
Parameters
- width
- Double
The width of the tag in pixels.
- topSpace
- Double
The space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine.
- baseline
- Double
The baseline of the space-negotiating adornment.
- textHeight
- Double
The height in pixels of the text portion of the space-negotiating adornment.
- bottomSpace
- Double
The space needed between the bottom of the text in the ITextViewLine and the botton of the ITextViewLine.
- affinity
- PositionAffinity
The PositionAffinity of the space-negotiating adornment.
- identityTag
- Object
A unique object associated with the space-negotiating adornment, used by ITextViewLine.GetAdornmentBounds.
- providerTag
- Object
A unique object identifying the provider of the adornment, used by GetAdornmentTags(Object)).
Applies to
SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object, Double)
Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.
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)
Parameters
- width
- Double
The width of the tag in pixels.
- topSpace
- Double
The space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine.
- baseline
- Double
The baseline of the space-negotiating adornment.
- textHeight
- Double
The height in pixels of the text portion of the space-negotiating adornment.
- bottomSpace
- Double
The space needed between the bottom of the text in the ITextViewLine and the botton of the ITextViewLine.
- affinity
- PositionAffinity
The PositionAffinity of the space-negotiating adornment.
- identityTag
- Object
A unique object associated with the space-negotiating adornment, used by ITextViewLine.GetAdornmentBounds.
- providerTag
- Object
A unique object identifying the provider of the adornment, used by GetAdornmentTags(Object)).
- ranking
- Double
Tie breaker used to order coincident adornments.