SetTerFont
Set font typeface for the text
boolean SetTerFont( typeface, repaint)
String typeface; | typeface of the new font |
boolean repaint; | true to refresh the window after this operation |
Description: This function is used to apply the new font typeface to the text. If a text block is highlighted, this operation is applicable to all characters in the block. Otherwise only the current character is affected.
Return Value: This function returns true if successful.
Example:
// select the first 40 characters of the first line.
SelectTerText(0,0,0,40,false);
// apply Arial font typeface to the selected text
SetTerFont("Arial",true);