Background color of this Thumbnail instance.

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
var tw = new ThumbnailWriter("ThumbnailID", 610, 500);
//...other params...
tw.addParam("BackgroundColor", "#ff7905");
//...other params...
tw.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ThumbnailID").setBackgroundColor(value);
value = getImageUploader("ThumbnailID").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 specifies the background color of this Thumbnail control.

NoteNote

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

Default value is "#ff7905".