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

ImageUploader.QualityMeterBackgroundColor Property

Supported in: ActiveX , Java

Background color of the quality meter.

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("QualityMeterBackgroundColor", "#ffffff");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setQualityMeterBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getQualityMeterBackgroundColor();

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 specifies a background color of the quality meter.

Note

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

Default value is "#ffffff" (white).

See Also

Manual

Reference