TE Edit Control Java / HTML-JavaScript Help
Product page

TerSelectCharStyle

Apply a character stylesheet item.

boolean TerSelectCharStyle( StyleId, repaint)
int StyleId;Character style id to apply
boolean repaint;true to refresh the screen after this operation.

Description: This function is used to assign the given character style to a highlighted block of text. If a text block is not highlighted, the given style id is used for the next keyboard input.

Return Value: This function returns true when successful.