PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RectangleD Structure / Union Method
The first RectangleD to combine.
The second RectangleD to combine.

In This Topic
    Union Method
    In This Topic
    Creates a new RectangleD structure representing the smallest possible rectangle containing the two specified rectangles.
    Syntax
    'Declaration
     
    Public Shared Function Union( _
       ByVal a As RectangleD, _
       ByVal b As RectangleD _
    ) As RectangleD
    public static RectangleD Union( 
       RectangleD a,
       RectangleD b
    )

    Parameters

    a
    The first RectangleD to combine.
    b
    The second RectangleD to combine.

    Return Value

    The newly created RectangleD structure.
    See Also