Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- rect
- A rectangle, specified in user space coordinates.
Return Value
True if any part of a rectangle is on an element, False otherwise.If the current element is a PDE Text or PDE Image, it uses the bounding box of the PDE Element to make the check. If the current element is a PDE Path and it is stroked, it checks if the rectangle is on the path.
If the current element is a PDE Path and it is filled, it checks if the rectangle is in the fill area, taking into consideration whether it is filled using the non-zero winding number rule or the even-odd rule.