DragSourceContext.GetInitialPrimaryShapeBounds 方法 (ElementGroup)

返回区域 (在绝对世界坐标) 在 ElementGroupPrototype 的主要形状。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Shared Function GetInitialPrimaryShapeBounds ( _
    elementGroup As ElementGroup _
) As RectangleD
public static RectangleD GetInitialPrimaryShapeBounds(
    ElementGroup elementGroup
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework 安全性

请参见

参考

DragSourceContext 类

GetInitialPrimaryShapeBounds 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间