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

TerSelectCharStyle

Apply a character stylesheet item.

bool TerSelectCharStyle( StyleId, repaint)
int StyleId;Character style id to apply
bool 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.