Region::IsEmpty method (gdiplusheaders.h)

The Region::IsEmpty method determines whether this region is empty.

Syntax

BOOL IsEmpty(
  [in] const Graphics *g
);

Parameters

[in] g

Type: const Graphics*

Pointer to a Graphics object that contains the world and page transformations required to calculate the device coordinates of this region.

Return value

Type: BOOL

If this region is empty, this method returns TRUE; otherwise, it returns FALSE.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Graphics

Rect

Region

Region::IsInfinite

Region::MakeEmpty

Region::MakeInfinite

Status