wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/IsFontLoaded

Version 5 (modified by Don Wilson, 6 years ago) ( diff )

--

IsFontLoaded

Check whether the specified font index is loaded

int IsFontLoaded(int nFont);

Parameters

  • nFont - font index

Return Value

  • Returns 1 if the font is loaded, 0 if not.

Remarks

  • The 825 has three standard fonts that are automatically loaded into memory, STD_FONT=0, BIG_FONT=30, and BTN_FONT=31.

Examples

if(IsFontLoaded(11) == 0)
{
  PrintLCD("Font 11 is not loaded");
}

See Also

Note: See TracWiki for help on using the wiki.