Partager via


DragSourceContext.GetInitialPrimaryShapeBounds Method (ElementGroupPrototype)

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

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 GetInitialPrimaryShapeBounds ( _
    elementGroupPrototype As ElementGroupPrototype _
) As RectangleD
public static RectangleD GetInitialPrimaryShapeBounds(
    ElementGroupPrototype elementGroupPrototype
)
public:
static RectangleD GetInitialPrimaryShapeBounds(
    ElementGroupPrototype^ elementGroupPrototype
)
static member GetInitialPrimaryShapeBounds : 
        elementGroupPrototype:ElementGroupPrototype -> RectangleD 
public static function GetInitialPrimaryShapeBounds(
    elementGroupPrototype : ElementGroupPrototype
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetInitialPrimaryShapeBounds Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace