Partager via


LinkShapeGeometry.GetPath, méthode (IGeometryHost)

Obtient le GraphicsPath décrivant la géométrie.Cela retourne un chemin d'accès de rectangle par défaut.C'est un singleton sur la géométrie.Ne supprimez pas.C'est un singleton sur la classe de la géométrie.Ne supprimez pas.Utilisation immédiatement.Utilisation GetPathCopy si un autre chemin d'accès est nécessaire !

Espace de noms :  Microsoft.VisualStudio.Modeling.Diagrams
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntaxe

'Déclaration
Public Overrides Function GetPath ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
public override GraphicsPath GetPath(
    IGeometryHost geometryHost
)

Paramètres

Valeur de retour

Type : System.Drawing.Drawing2D.GraphicsPath

Sécurité .NET Framework

Voir aussi

Référence

LinkShapeGeometry Classe

GetPath, surcharge

Microsoft.VisualStudio.Modeling.Diagrams, espace de noms