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