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

TerSetDefTextColor

Set default text foreground color.

bool TerSetDefTextColor( ForeColor, repaint)
Color NewWidth;new text foreground color.
bool repaint;true to repaint the screen after this operation.

Description: The new text color is effective only for the current session. The new text color is not written out when the document is saved.

Please use the GetTerFields/SetTerFields functions to change the background color of the text window.

Return Value: This function returns true when successful..