This documentation is for the old version. Go to the latest Upload Suite docs

ImageFormat.BackgroundColor Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a background color of the button.


public function getBackgroundColor() {

public function setBackgroundColor($value) {

Property Value

Type: string

The background color of button or icon.

The color string should be specified in a hex representation of the RGB triad in HTML-style syntax (#rrggbb).


The rectangle specified with Width/Height is filled with this color and displayed while images for buttons are downloaded. If omitted, the BackgroundColor property value is used.

See Also