TE Edit Control .NET Core / .NET Framework Help
Product page

TerLoadExtFont

Load an external font file.

BOOL TerLoadExtFont(typeface, FontFile, type)
string typeface;Actual typeface of the font as specified in the font-file.
string FontFilePath or name of the FontFIle containing the font data.
bool UpdateToolbarSet to true to update the toolbar immediately.

Comment: You can call this method more than once to load multiple fonts. The fonts loaded by this method are effective only during the session.

Return Value: This function returns TRUE when successful.

Example:

    TerLoadExtFont("Pirulen","pirulen.ttf",true);