# StatusBarViewGeneratorColors Object

> The StatusBarViewGeneratorColors object provides methods for getting, setting or resetting the display colors of a status bar. 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:** 30.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > StatusBarViewGeneratorColors Object
- **2298 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/llms-full.txt

---

### Description

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

### Syntax

```javascript
StatusBarViewGeneratorColors
```

### Examples

The following example demonstrates `StatusBarViewGeneratorColors` in a practical document-editing workflow. The StatusBarViewGeneratorColors object provides methods for getting, setting or resetting the display colors of a status bar. By default the display colors depend on sytem colors on the server. With this object all colors can be individually designed.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectStatusBarViewGeneratorColors(statusBarViewGeneratorColors) {
    statusBarViewGeneratorColors.getBackColor(
        function(result) {
            console.log("get back color result:", result);
        },
        onTxError
    );
}
```

---

## In This Section

- [Javascript: StatusBarViewGeneratorColors.getBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getbackcolor-method/llms-full.txt): Gets the background color at the left edge of the status bar.
- [Javascript: StatusBarViewGeneratorColors.getBackColorBottom Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getbackcolorbottom-method/llms-full.txt): Gets the background color at the bottom of the status bar.
- [Javascript: StatusBarViewGeneratorColors.getBackColorMiddle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getbackcolormiddle-method/llms-full.txt): Gets the background color in the middle of the status bar.
- [Javascript: StatusBarViewGeneratorColors.getBackColorTop Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getbackcolortop-method/llms-full.txt): Gets the background color at the top of the status bar.
- [Javascript: StatusBarViewGeneratorColors.getForeColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getforecolor-method/llms-full.txt): Gets the color used for text and numbers.
- [Javascript: StatusBarViewGeneratorColors.getFrameColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getframecolor-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support frames anymore. Gets the color of the status bar's frames.
- [Javascript: StatusBarViewGeneratorColors.getGradientBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getgradientbackcolor-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support horizontal gradients anymore. Gets the background color at the right edge of the status bar.
- [Javascript: StatusBarViewGeneratorColors.getSeparatorColorDark Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getseparatorcolordark-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Gets the color of the dark part of a separator.
- [Javascript: StatusBarViewGeneratorColors.getSeparatorColorLight Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getseparatorcolorlight-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Gets the color of the light part of a separator.
- [Javascript: StatusBarViewGeneratorColors.reset Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/reset-method/llms-full.txt): Resets all colors to their system dependent default values.
- [Javascript: StatusBarViewGeneratorColors.resetBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetbackcolor-method/llms-full.txt): Resets the ruler bar's backColor to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetBackColorBottom Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetbackcolorbottom-method/llms-full.txt): Resets the status bar's backColorBottom to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetBackColorMiddle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetbackcolormiddle-method/llms-full.txt): Resets the status bar's backColorMiddle to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetBackColorTop Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetbackcolortop-method/llms-full.txt): Resets the status bar's backColorTop to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetForeColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetforecolor-method/llms-full.txt): Resets the status bar's foreColor to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetFrameColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetframecolor-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support frames anymore. Resets the status bar's frameColor to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetGradientBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetgradientbackcolor-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support horizontal gradients anymore. Resets the status bar's gradientBackColor to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetSeparatorColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolor-method/llms-full.txt): Resets the separator color to its default value.
- [Javascript: StatusBarViewGeneratorColors.resetSeparatorColorDark Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolordark-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Resets the status bar's separatorColorDark to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.resetSeparatorColorLight Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/resetseparatorcolorlight-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Resets the status bar's separatorColorLight to its system dependent default value.
- [Javascript: StatusBarViewGeneratorColors.setBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setbackcolor-method/llms-full.txt): Sets the background color at the left edge of the ruler bar.
- [Javascript: StatusBarViewGeneratorColors.setBackColorBottom Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setbackcolorbottom-method/llms-full.txt): Sets the background color at the bottom of the status bar.
- [Javascript: StatusBarViewGeneratorColors.setBackColorMiddle Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setbackcolormiddle-method/llms-full.txt): Sets the background color in the middle of the status bar.
- [Javascript: StatusBarViewGeneratorColors.setBackColorTop Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setbackcolortop-method/llms-full.txt): Sets the background color at the top of the status bar.
- [Javascript: StatusBarViewGeneratorColors.setForeColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setforecolor-method/llms-full.txt): Sets the color used for text and numbers.
- [Javascript: StatusBarViewGeneratorColors.setFrameColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setframecolor-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support frames anymore. Sets the color of the status bar's frames.
- [Javascript: StatusBarViewGeneratorColors.setGradientBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setgradientbackcolor-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support horizontal gradients anymore. Sets the background color at the right edge of the status bar.
- [Javascript: StatusBarViewGeneratorColors.setSeparatorColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolor-method/llms-full.txt): Sets the separator color.
- [Javascript: StatusBarViewGeneratorColors.setSeparatorColorDark Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolordark-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the dark part of a separator.
- [Javascript: StatusBarViewGeneratorColors.setSeparatorColorLight Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/setseparatorcolorlight-method/llms-full.txt): Obsolete. This method will be removed in one of the next versions. Since version 33.0 the status bar doesn't support gradients in separators anymore. Sets the color of the light part of a separator.

---

## Nearby

- **Previous:** [Javascript: StatusBarViewGenerator.setShowZoomTrackBar Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgenerator/setshowzoomtrackbar-method/llms-full.txt)
- **Next:** [Javascript: StatusBarViewGeneratorColors.getBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/statusbarviewgeneratorcolors/getbackcolor-method/llms-full.txt)
