TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetEffectiveFont

Override the effective font for editing.

boolean TerSetEffectiveFont(FontId)
int FontId;The font id to use for editing.

Description: Normally, when the user click on a text location, the editor picks a font for text entry at that location. You can override this font automatic selection by using this function. This function can also be used to set a suitable font before inserting the text using the InsertTerText function.

Return Value: This function returns TRUE if successful.