Condividi tramite


SpaceNegotiatingAdornmentTag Constructor

Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Dichiarazione
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 _
)
public SpaceNegotiatingAdornmentTag(
    double width,
    double topSpace,
    double baseline,
    double textHeight,
    double bottomSpace,
    PositionAffinity affinity,
    Object identityTag,
    Object providerTag
)
public:
SpaceNegotiatingAdornmentTag(
    double width, 
    double topSpace, 
    double baseline, 
    double textHeight, 
    double bottomSpace, 
    PositionAffinity affinity, 
    Object^ identityTag, 
    Object^ providerTag
)
new : 
        width:float * 
        topSpace:float * 
        baseline:float * 
        textHeight:float * 
        bottomSpace:float * 
        affinity:PositionAffinity * 
        identityTag:Object * 
        providerTag:Object -> SpaceNegotiatingAdornmentTag
public function SpaceNegotiatingAdornmentTag(
    width : double, 
    topSpace : double, 
    baseline : double, 
    textHeight : double, 
    bottomSpace : double, 
    affinity : PositionAffinity, 
    identityTag : Object, 
    providerTag : Object
)

Parameters

  • 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.

.NET Framework Security

See Also

Reference

SpaceNegotiatingAdornmentTag Class

Microsoft.VisualStudio.Text.Tagging Namespace