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

TerSetPageBkColor

Set page background color.

BOOL TerSetPageBkColor(BkColor)
Color BkColor;The background color for the page

Description: This function is used set a background color for the page. If the page borders are active, then the color is applied to the area inside the page borders.

Use the TerGetParam function to retrieve the current page background color.

Example:

   tern1.TerSetPaegBkColor(Color.Red); // set page color to red
   tern1.TerRepaint(false); // repaint to show the color

Return Value: This function returns TRUE if successful.