Returns a Boolean value: TRUE, if the square of the rectangle is zero, otherwise FALSE.
Applies to objects: DRect
[[Let] res = ] object.IsEmpty () |
The IsEmpty method syntax has these parts:
Part | Description |
res | A Boolean type variable. |
object | A reference to an instance of the DRect object. |
Note, that if the right / bottom values in the DRect object are less than the left / top values, the square of the rectangle is non-zero.
This example demonstrates using the IsEmpty method.
Dim MyObject as new DRect, res as Boolean |
See Also |
DRect Object |