DragSourceContext.GetInitialBoundingBox 方法 (ElementGroupPrototype)
傳回包含所有圖形的周框方塊 (在絕對全局座標中)。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Shared Function GetInitialBoundingBox ( _
elementGroupPrototype As ElementGroupPrototype _
) As RectangleD
public static RectangleD GetInitialBoundingBox(
ElementGroupPrototype elementGroupPrototype
)
參數
- elementGroupPrototype
類型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
其中已儲存 DragSourceContext 的 ElementGroupPrototype。
傳回值
類型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。