ShapeSubField.GetBounds(ShapeElement, ShapeField) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回世界坐标中相对于父形状的左上角的边界。
public:
abstract Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public abstract Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public MustOverride Function GetBounds (parentShape As ShapeElement, parentField As ShapeField) As RectangleD
参数
- parentShape
- ShapeElement
此 ShapeSubField 的父 ShapeElement。
- parentField
- ShapeField
此 ShapeSubField 的父 ShapeField。
返回
世界坐标中相对于父形状的左上角的边界。