DragSourceContext.GetInitialPrimaryShapeBounds Method (ElementGroup)
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 ( _
elementGroup As ElementGroup _
) As RectangleD
public static RectangleD GetInitialPrimaryShapeBounds(
ElementGroup elementGroup
)
public:
static RectangleD GetInitialPrimaryShapeBounds(
ElementGroup^ elementGroup
)
static member GetInitialPrimaryShapeBounds :
elementGroup:ElementGroup -> RectangleD
public static function GetInitialPrimaryShapeBounds(
elementGroup : ElementGroup
) : RectangleD
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The ElementGroup 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.