TE Edit Control Java / HTML-JavaScript Help
Product page

TerLoadExtFont

Load an external font file.

boolean 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.
boolean 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);