Customer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 
This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.LargePreviewBackgroundColor Property

Supported in: ActiveX , Java

Background color of the preview window.

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

Get/Set Value in Runtime

JavaScript
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.

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