Share via


LineSegment.CenterPoint Property

Get the center point for the line segment.

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

Syntax

'Declaration
Public ReadOnly Property CenterPoint As PointD
public PointD CenterPoint { get; }
public:
property PointD CenterPoint {
    PointD get ();
}
member CenterPoint : PointD with get
function get CenterPoint () : PointD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework Security

See Also

Reference

LineSegment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace