# TextViewGeneratorColors Object

> The TextViewGeneratorColors object provides methods for getting, setting or resetting the display colors of the TextControl. By default the display colors depend on sytem colors on the server. With this object all colors can be individually designed.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > TextViewGeneratorColors Object
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/#members)

---

## In This Section

- [Javascript: TextViewGeneratorColors.getActiveFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getactiveformfieldcolor-method/llms.txt): Gets the highlight color of a form field containing the current text input position. If the property is not set, the return value is null.
- [Javascript: TextViewGeneratorColors.getDarkShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getdarkshadowcolor-method/llms.txt): Gets the display color for the shadow at the right and the bottom edge of the pages.
- [Javascript: TextViewGeneratorColors.getDesktopColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getdesktopcolor-method/llms.txt): Gets the display color for the area around the pages.
- [Javascript: TextViewGeneratorColors.getFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getformfieldcolor-method/llms.txt): Gets the default highlight color of form fields. If the property is not set, the return value is null.
- [Javascript: TextViewGeneratorColors.getHeaderFooterLabelColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getheaderfooterlabelcolor-method/llms.txt): Gets the display color for the label showing which header or footer is activated.
- [Javascript: TextViewGeneratorColors.getHeaderFooterLineColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getheaderfooterlinecolor-method/llms.txt): Gets the display color for the dividing line between headers and footers and the main text.
- [Javascript: TextViewGeneratorColors.getLightShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getlightshadowcolor-method/llms.txt): Gets the display color for the shadow at the left and the top edge of the pages.
- [Javascript: TextViewGeneratorColors.resetDarkShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/resetdarkshadowcolor-method/llms.txt): Resets the text control's DarkShadowColor to its system dependent default value.
- [Javascript: TextViewGeneratorColors.resetDesktopColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/resetdesktopcolor-method/llms.txt): Resets the text control's DesktopColor to its system dependent default value.
- [Javascript: TextViewGeneratorColors.resetHeaderFooterLabelColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/resetheaderfooterlabelcolor-method/llms.txt): Resets the text control's HeaderFooterLabelColor to its system dependent default value.
- [Javascript: TextViewGeneratorColors.resetHeaderFooterLineColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/resetheaderfooterlinecolor-method/llms.txt): Resets the text control's HeaderFooterLineColor to its system dependent default value.
- [Javascript: TextViewGeneratorColors.resetLightShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/resetlightshadowcolor-method/llms.txt): Resets the text control's LightShadowColor to its system dependent default value.
- [Javascript: TextViewGeneratorColors.setActiveFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setactiveformfieldcolor-method/llms.txt): Sets the highlight color of a form field containing the current text input position. To suppress highlighting the active FormField the property value can be set to null.
- [Javascript: TextViewGeneratorColors.setDarkShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setdarkshadowcolor-method/llms.txt): Sets the display color for the shadow at the right and the bottom edge of the pages.
- [Javascript: TextViewGeneratorColors.setDesktopColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setdesktopcolor-method/llms.txt): Sets the display color for the area around the pages.
- [Javascript: TextViewGeneratorColors.setFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setformfieldcolor-method/llms.txt): Sets the default highlight color of a form field. To suppress highlighting the FormField the property value can be set to null.
- [Javascript: TextViewGeneratorColors.setHeaderFooterLabelColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setheaderfooterlabelcolor-method/llms.txt): Sets the display color for the label showing which header or footer is activated.
- [Javascript: TextViewGeneratorColors.setHeaderFooterLineColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setheaderfooterlinecolor-method/llms.txt): Sets the display color for the dividing line between headers and footers and the main text.
- [Javascript: TextViewGeneratorColors.setLightShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/setlightshadowcolor-method/llms.txt): Sets the display color for the shadow at the left and the top edge of the pages.

---

## Nearby

- **Previous:** [Javascript: TextPastedEventArgs.textType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textpastedeventargs/texttype-property/llms.txt)
- **Next:** [Javascript: TextViewGeneratorColors.getActiveFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textviewgeneratorcolors/getactiveformfieldcolor-method/llms.txt)
