SpaceNegotiatingAdornmentTag Constructor (Double, Double, Double, Double, Double, PositionAffinity, Object^, Object^)
Visual Studio 2015
Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
public: SpaceNegotiatingAdornmentTag( double width, double topSpace, double baseline, double textHeight, double bottomSpace, PositionAffinity affinity, Object^ identityTag, Object^ providerTag )
Parameters
- width
-
Type:
System::Double
The width of the tag in pixels.
- topSpace
-
Type:
System::Double
The space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine.
- baseline
-
Type:
System::Double
The baseline of the space-negotiating adornment.
- textHeight
-
Type:
System::Double
The height in pixels of the text portion of the space-negotiating adornment.
- bottomSpace
-
Type:
System::Double
The space needed between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine.
- affinity
-
Type:
Microsoft.VisualStudio.Text::PositionAffinity
The PositionAffinity of the space-negotiating adornment.
- identityTag
-
Type:
System::Object^
A unique object associated with the space-negotiating adornment, used by GetAdornmentBounds.
- providerTag
-
Type:
System::Object^
A unique object identifying the provider of the adornment, used by GetAdornmentTags).
Show: