Description
This function alters the target rectangle by setting its coordinates to the intersection of the target and source rectangles. The intersection of two rectangles is the largest rectangle that is completely contained within the other two rectangles. This may result in the target rectangle being set to an empty rectangle.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.IntersectRect (objRectangle)
Parameters
Object is a reference to the Rectangle object. For more information, see Rectangle Object (page Rectangle Object).
IntersectRect is the command.
objRectangle is the target rectangle.
Example