DragSourceContext::GetInitialPrimaryShapeBounds Method (ElementGroupPrototype^)
Visual Studio 2015
Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static RectangleD GetInitialPrimaryShapeBounds( ElementGroupPrototype^ elementGroupPrototype )
Parameters
- elementGroupPrototype
-
Type:
Microsoft.VisualStudio.Modeling::ElementGroupPrototype^
The ElementGroupPrototype where the DragSourceContext has been saved to.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
Show: