ShapeField.GetBounds Method

Gets the bounds for the shape field.

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 GetBounds ( _
    parentShape As ShapeElement _
) As RectangleD
public virtual RectangleD GetBounds(
    ShapeElement parentShape
)
public:
virtual RectangleD GetBounds(
    ShapeElement^ parentShape
)
abstract GetBounds : 
        parentShape:ShapeElement -> RectangleD 
override GetBounds : 
        parentShape:ShapeElement -> RectangleD 
public function GetBounds(
    parentShape : ShapeElement
) : RectangleD

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace