Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Function GetInitialBoundingBox ( _
elementGroup As ElementGroup _
) As RectangleD
'使用
Dim elementGroup As ElementGroup
Dim returnValue As RectangleD
returnValue = DragSourceContext.GetInitialBoundingBox(elementGroup)
public static RectangleD GetInitialBoundingBox(
ElementGroup elementGroup
)
public:
static RectangleD GetInitialBoundingBox(
ElementGroup^ elementGroup
)
public static function GetInitialBoundingBox(
elementGroup : ElementGroup
) : RectangleD
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Permissions
- 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.