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

In This Topic
    Union Method (RectangleD)
    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