ShapeSubField::GetBounds Method (ShapeElement^, ShapeField^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual RectangleD GetBounds(
	ShapeElement^ parentShape,
	ShapeField^ parentField
) abstract

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 to top
Show: