共用方式為


LineSegment.CenterPoint Property

Get the center point for the line segment.

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

Syntax

'宣告
Public ReadOnly Property CenterPoint As PointD
    Get
public PointD CenterPoint { get; }
public:
property PointD CenterPoint {
    PointD get ();
}
member CenterPoint : PointD
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