Freigeben über


MoveableDecoratorHostShape.CalculateCenterLocation-Methode

Berechnen Sie den neuen Speicherort des Mittelpunkts der Hostform auf der Grundlage der Position der übergeordneten Form.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Protected Friend Function CalculateCenterLocation As PointD
protected internal PointD CalculateCenterLocation()

Rückgabewert

Typ: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Die Position des Mittelpunkts dieser Hostform.

.NET Framework-Sicherheit

Siehe auch

Referenz

MoveableDecoratorHostShape Klasse

Microsoft.VisualStudio.Modeling.Diagrams-Namespace