DragSourceContext.GetInitialPrimaryShapeBounds – metoda (ElementGroupPrototype)
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 ( _
elementGroupPrototype As ElementGroupPrototype _
) As RectangleD
public static RectangleD GetInitialPrimaryShapeBounds(
ElementGroupPrototype elementGroupPrototype
)
Parametry
- elementGroupPrototype
Typ: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
ElementGroupPrototype, 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.