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

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public static PdfRectangle Union(
	PdfRectangle a,
	PdfRectangle b
)
VB
Public Shared Function Union ( 
	a As PdfRectangle,
	b As PdfRectangle
) As PdfRectangle

Parameters

a
Type: BitMiracle.Docotic.Pdf.PdfRectangle
First rectangle to union.
b
Type: BitMiracle.Docotic.Pdf.PdfRectangle
Second rectangle to union.

Return Value

Type: PdfRectangle
A third PdfRectangle structure that contains both of the two rectangles that form the union.

See Also