User32IsRectEmpty(NativeRectangle) 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.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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 NativeRectangle refRect
)

Parameters

refRect  NativeRectangle
A pointer to the NativeRectangle structure that contains the logical coordinates of the rectangle.

Return Value

Boolean
If the rectangle is empty, the return value is .

If the rectangle is not empty, the return value is .

Remarks

See Also