Admin Production ni-theme
Current Publication

RectEmpty

LabWindows/CVI

RectEmpty

int RectEmpty (Rect rect);

Purpose

Returns 1 if the rectangle you specify is empty. The function returns 0 otherwise.

A rectangle is considered empty if either its height or width is less than or equal to zero.

Parameters

Input
Name Type Description
rect Rect The location and size of a rectangle.

Return Value

Name Type Description
empty int Indicates if the specified rectangle is empty.

Code Description
1 Either rect.height or rect.width is less than or equal to zero.
0 Both rect.height and rect.width are greater than zero.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later