DragSourceContext.GetInitialBoundingBox Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.