共用方式為


ShapeElement.AbsoluteCenter 屬性

取得圖案的中心點。

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

語法

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

屬性值

類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
圖案的中心點。

備註

圖案的絕對界限來計算圖案的絕對中心。

.NET Framework 安全性

請參閱

參考

ShapeElement 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間