Condividi tramite


CompartmentShapeAreaField.GetBounds Method

Gets the bounding rectangle for this shape field.

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

Syntax

'Declaration
Public Overrides Function GetBounds ( _
    parentShape As ShapeElement _
) As RectangleD
public override RectangleD GetBounds(
    ShapeElement parentShape
)
public:
virtual RectangleD GetBounds(
    ShapeElement^ parentShape
) override
abstract GetBounds : 
        parentShape:ShapeElement -> RectangleD  
override GetBounds : 
        parentShape:ShapeElement -> RectangleD
public override function GetBounds(
    parentShape : ShapeElement
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

CompartmentShapeAreaField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace