Click or drag to resize

RectIntersectRect Method

Makes a Rect equal to the intersection of two existing rectangles.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool IntersectRect(
	Rect rect1,
	Rect rect2
)

Parameters

rect1
Type: pdftron.PDFRect
A Rect object that contains a source rectangle.
rect2
Type: pdftron.PDFRect
A Rect object that contains a source rectangle.

Return Value

Type: Boolean
True if the intersection is not empty; 0 if the intersection is empty.
Remarks
The intersection is the largest rectangle contained in both existing rectangles.
See Also