ShapeSubField.GetBounds Method
Returns the bounds in world coordinates relative to the top-left of the parent shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public MustOverride Function GetBounds ( _
parentShape As ShapeElement, _
parentField As ShapeField _
) As RectangleD
public abstract RectangleD GetBounds(
ShapeElement parentShape,
ShapeField parentField
)
public:
virtual RectangleD GetBounds(
ShapeElement^ parentShape,
ShapeField^ parentField
) abstract
abstract GetBounds :
parentShape:ShapeElement *
parentField:ShapeField -> RectangleD
public abstract function GetBounds(
parentShape : ShapeElement,
parentField : ShapeField
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent ShapeElement of this ShapeSubField.
- 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.