DragSourceContext.GetInitialBoundingBox Method (ElementGroupPrototype)
Returns the bounding box (in absolute world coordinates) encompassing all the shapes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Shared Function GetInitialBoundingBox ( _
elementGroupPrototype As ElementGroupPrototype _
) As RectangleD
public static RectangleD GetInitialBoundingBox(
ElementGroupPrototype elementGroupPrototype
)
public:
static RectangleD GetInitialBoundingBox(
ElementGroupPrototype^ elementGroupPrototype
)
static member GetInitialBoundingBox :
elementGroupPrototype:ElementGroupPrototype -> RectangleD
public static function GetInitialBoundingBox(
elementGroupPrototype : ElementGroupPrototype
) : RectangleD
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype where the DragSourceContext has been saved to.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.