TerSetPageBkColor
Set page background color.
boolean TerSetPageBkColor(BkColor)
Color BkColor; or, String HtmlColor; | The background color for the page. The color value can be passed as a Color object, or an HTML color string such as red, "#ff0000". |
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:
tej1.TerSetPaegBkColor(Color.Red); // set page color to red tej1.TerRepaint(false); // repaint to show the color
Return Value: This function returns TRUE if successful.