Delen via


DragSourceContext.GetInitialBoundingBox Method (ElementGroup)

Returns the bounding box (in absolute world coordinates) encompassing all the shapes.

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 Shared Function GetInitialBoundingBox ( _
    elementGroup As ElementGroup _
) As RectangleD
public static RectangleD GetInitialBoundingBox(
    ElementGroup elementGroup
)
public:
static RectangleD GetInitialBoundingBox(
    ElementGroup^ elementGroup
)
static member GetInitialBoundingBox : 
        elementGroup:ElementGroup -> RectangleD
public static function GetInitialBoundingBox(
    elementGroup : ElementGroup
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetInitialBoundingBox Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace