Background color of the preview window.

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("LargePreviewBackgroundColor", "#ffffff");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").setLargePreviewBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getLargePreviewBackgroundColor();
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) that defines the background color of the preview window.

NoteNote

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

Default value is "#ffffff" (white).

See Also