FontFamily::IsAvailable method (gdiplusheaders.h)

The FontFamily::IsAvailable method determines whether this FontFamily object was created successfully.

Syntax

BOOL IsAvailable();

Return value

Type: BOOL

If this FontFamily object was created successfully, 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

Constructing Font Families and Fonts

FontFamily

FontFamily::GetLastStatus