DragSourceContext.GetInitialPrimaryShapeBounds – metoda (ElementGroup)
Vrátí ElementGroupPrototype hranice primárního obrazce (v absolutní Světové souřadnice).
Obor názvů: Microsoft.VisualStudio.Modeling.Diagrams
Sestavení: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (v Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntaxe
'Deklarace
Public Shared Function GetInitialPrimaryShapeBounds ( _
elementGroup As ElementGroup _
) As RectangleD
public static RectangleD GetInitialPrimaryShapeBounds(
ElementGroup elementGroup
)
Parametry
- elementGroup
Typ: Microsoft.VisualStudio.Modeling.ElementGroup
ElementGroup, kde byla DragSourceContext uložena.
Vrácená hodnota
Typ: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.