共用方式為


ShapeElement.AbsoluteCenter 屬性

取得圖案的中心點。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public ReadOnly Property AbsoluteCenter As PointD
public PointD AbsoluteCenter { get; }

屬性值

型別:Microsoft.VisualStudio.Modeling.Diagrams.PointD
「 圖形的中心點。

備註

絕對界限圖形用來計算絕對圖形的中央。

.NET Framework 安全性

請參閱

參考

ShapeElement 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間