IsRectEmpty The IsRectEmpty function determines whether the specified rectangle is empty. A empty rectangle is one that has no area; that is, the coordinate of the right side is less than or equal to the coordinate of the left side, or the coordinate of the bottom side is less than or equal to the coordinate of the top side. VB4-32,5,6 Declare Function IsRectEmpty Lib "user32" Alias "IsRectEmpty" (lpRect As RECT) As Long |
VB.NET System.Drawing.Rectangle.IsEmpty |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
· lprc Points to a RECT structure that contains the logical coordinates of the rectangle. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|