Share via


DragSourceContext.GetInitialPrimaryShapeBounds Method

Definition

Overloads

GetInitialPrimaryShapeBounds(ElementGroupPrototype)

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

GetInitialPrimaryShapeBounds(ElementGroup)

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

GetInitialPrimaryShapeBounds(ElementGroupPrototype)

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

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

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype where the DragSourceContext has been saved to.

Returns

The bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

Applies to

GetInitialPrimaryShapeBounds(ElementGroup)

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

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

Parameters

elementGroup
ElementGroup

The ElementGroup where the DragSourceContext has been saved to.

Returns

The bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

Applies to