Returns a Boolean value: TRUE, if the point with the specified coordinates is within the rectanlge, otherwise - FALSE.
Applies to objects: DRect
[[Let] res = ] object.PtInRect ( x, y ) |
The PtInRect method syntax has these parts:
Part | Description |
object | A reference to an instance of the object. |
x, y | X,Y coordinates of the point, Double values. |
res | A Boolean type variable. |
This example demonstrates using the PtInRect method.
Dim MyObject as new DRect, res as Boolean |
See Also |
DRect Object |