共用方式為


RectangleD.Union Method

Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Shared Function Union ( _
    first As RectangleD, _
    second As RectangleD _
) As RectangleD
public static RectangleD Union(
    RectangleD first,
    RectangleD second
)
public:
static RectangleD Union(
    RectangleD first, 
    RectangleD second
)
static member Union : 
        first:RectangleD * 
        second:RectangleD -> RectangleD 
public static function Union(
    first : RectangleD, 
    second : RectangleD
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

RectangleD Structure

Microsoft.VisualStudio.Modeling.Diagrams Namespace