User32IsRectEmpty(Rectangle) Method
determines whether the specified
NativeRectangle is empty.
An empty
NativeRectangle 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.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll")]
public static bool IsRectEmpty(
in Rectangle refRect
)
<DllImportAttribute("User32.dll">]
Public Shared Function IsRectEmpty (
ByRef refRect As Rectangle
) As Boolean
Dim refRect As Rectangle
Dim returnValue As Boolean
returnValue = User32.IsRectEmpty(refRect)
public:
[DllImportAttribute(L"User32.dll")]
static bool IsRectEmpty(
[InAttribute] Rectangle% refRect
)
[<DllImportAttribute("User32.dll")>]
static member IsRectEmpty :
refRect : Rectangle byref -> bool
No code example is currently available or this language may not be supported.
- refRect Rectangle
-
A pointer to the Rectangle structure that contains the logical coordinates of the rectangle.
Boolean
If the rectangle is empty, the return value is
.
If the rectangle is not empty, the return value is
.