Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetBounds Method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft