ListField.GetBounds(ShapeElement) 方法

定义

相对于父形状的左上角,获取此 ShapeField 在世界单位内的边界。

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public override Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
override this.GetBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overrides Function GetBounds (parentShape As ShapeElement) As RectangleD

参数

parentShape
ShapeElement

此字段的父形状。

返回

RectangleD

此 ShapeField 相对于父形状左上角的世界单位的边界。

适用于