Partager via


SpaceNegotiatingAdornmentTag, constructeur

Initialise une nouvelle instance d'un SpaceNegotiatingAdornmentTag avec les propriétés spécifiées.

Espace de noms :  Microsoft.VisualStudio.Text.Tagging
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • width
    Type : Double

    Largeur de la balise, en pixels.

  • baseline
    Type : Double

    Ligne de base de l'ornement à espace négocié.

  • textHeight
    Type : Double

    Hauteur, en pixels, de la partie de texte de l'ornement à espace négocié.

  • identityTag
    Type : Object

    Un unique objet associé à l'ornement à espace négocié, utilisé par GetAdornmentBounds.

  • providerTag
    Type : Object

    Objet unique identifiant le fournisseur de l'ornement, utilisé par GetAdornmentTags.

Sécurité .NET Framework

Voir aussi

Référence

SpaceNegotiatingAdornmentTag Classe

Microsoft.VisualStudio.Text.Tagging, espace de noms