Share via


DragSourceContext.GetInitialBoundingBox Method

Definition

Overloads

GetInitialBoundingBox(ElementGroup)

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

GetInitialBoundingBox(ElementGroupPrototype)

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

GetInitialBoundingBox(ElementGroup)

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

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetInitialBoundingBox(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public static Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetInitialBoundingBox (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
static member GetInitialBoundingBox : Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Function GetInitialBoundingBox (elementGroup As ElementGroup) As RectangleD

Parameters

elementGroup
ElementGroup

The ElementGroup where the DragSourceContext has been saved to.

Returns

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

Applies to

GetInitialBoundingBox(ElementGroupPrototype)

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

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetInitialBoundingBox(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public static Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetInitialBoundingBox (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
static member GetInitialBoundingBox : Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Function GetInitialBoundingBox (elementGroupPrototype As ElementGroupPrototype) As RectangleD

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype where the DragSourceContext has been saved to.

Returns

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

Applies to