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

SetTerBkColor

Set the background color for the text.

bool SetTerBkColor(color,repaint)
bool SetTerBkColorHtml(HtmlColor,repaint)
Color color;new background color
string HtmlColor;Color specified in the html string format, such as "red", "#FFFFFF"
bool repaint;true to repaint the screen after this operation.

Description: If a text block is selected before this operation, the new background color is applicable for every character in the block. If a block is not highlighted, this function selects the new color for the next character input.

Return Value: This function returns true when successful.