ShapeSubField.GetInPlaceEditorBounds Method
Returns the bounds of the in-place editor relative to its parent shape in world units.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overridable Function GetInPlaceEditorBounds ( _
parentShape As ShapeElement, _
parentField As ShapeField _
) As RectangleD
public virtual RectangleD GetInPlaceEditorBounds(
ShapeElement parentShape,
ShapeField parentField
)
public:
virtual RectangleD GetInPlaceEditorBounds(
ShapeElement^ parentShape,
ShapeField^ parentField
)
abstract GetInPlaceEditorBounds :
parentShape:ShapeElement *
parentField:ShapeField -> RectangleD
override GetInPlaceEditorBounds :
parentShape:ShapeElement *
parentField:ShapeField -> RectangleD
public function GetInPlaceEditorBounds(
parentShape : ShapeElement,
parentField : ShapeField
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement instance that contains this subfield.
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent ShapeField of this ShapeSubField.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.