ShapeField.GetBounds Method

Gets the bounds for the shape field.

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

Syntax

'宣言
Public Overridable Function GetBounds ( _
    parentShape As ShapeElement _
) As RectangleD
'使用
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As RectangleD

returnValue = instance.GetBounds(parentShape)
public virtual RectangleD GetBounds(
    ShapeElement parentShape
)
public:
virtual RectangleD GetBounds(
    ShapeElement^ parentShape
)
public function GetBounds(
    parentShape : ShapeElement
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

The bounds for the shape.

Permissions

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace