Returns a PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.

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

Syntax

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

Parameters

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

Return Value

Type: PdfRectangle
A PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.

See Also