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

ImageUploader.BackgroundColor Property

Supported in: ActiveX , Java

Background color of the Image Uploader surface.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("BackgroundColor", "#c3daf9");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getBackgroundColor();

Property Value

A color value specified as a hex representation of the RGB triad in HTML-style syntax (#rrggbb) or as a color name ("white" and so on) which defines the background color of Image Uploader.

Note

See the full list of supported color names in MSDN. Pay attention that user-defined colors are not supported.

Default value is "#c3daf9".

Remarks

Do not confuse this property with color of Image Uploader panes. Each panel has individual background color.

See Also

Manual

Reference