共用方式為


ShapeField.GetInPlaceEditorBounds(ShapeElement) Method

Definition

Returns the bounds of the in-place editor relative to its parent shape in world units.

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

Parameters

parentShape
ShapeElement

The ShapeElement instance that contains this field.

Returns

The bounds of the in-place editor relative to its parent shape in world units.

Applies to