ShapeSubField.GetInPlaceEditorBounds(ShapeElement, ShapeField) 方法

定义

以世界单位返回就地编辑器相对于其父形状的边界。

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetInPlaceEditorBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetInPlaceEditorBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetInPlaceEditorBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
override this.GetInPlaceEditorBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overridable Function GetInPlaceEditorBounds (parentShape As ShapeElement, parentField As ShapeField) As RectangleD

参数

parentShape
ShapeElement

包含此子字段的 ShapeElement 实例。

parentField
ShapeField

此 ShapeSubField 的父 ShapeField。

返回

RectangleD

就地编辑器相对于其父形状的全局单位的边界。

适用于