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
)
Public Function IntersectRect (
rect1 As Rect,
rect2 As Rect
) As Boolean
public:
virtual bool IntersectRect(
[InAttribute] Rect^ rect1,
[InAttribute] Rect^ rect2
) sealed
function IntersectRect(rect1, 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