ShapeField.GetBounds Method

Gets the bounds for the shape field.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

public virtual RectangleD GetBounds(
	ShapeElement parentShape
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The shape element to which the shape field is assigned.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The bounds for the shape.

Show: