Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the point in the center of the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public ReadOnly Property Center As PointD
'Usage
Dim instance As ShapeElement
Dim value As PointD
value = instance.Center
public PointD Center { get; }
public:
property PointD Center {
PointD get ();
}
public function get Center () : PointD
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point in the center of the bounds for the shape.
Remarks
The bounds for the shape determine where center of the shape is.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.