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

ImageUploader.UseSystemColors Property

Supported in: ActiveX , Java

Switch that specifies whether Image Uploader should use system-dependent colors for its elements or use color specified via appropriate properties.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUseSystemColors(value);
value = getImageUploader("ImageUploaderID").getUseSystemColors();

Property Value

A boolean value (true or false). If true, all Image Uploader visual elements are colored with colors configured in system settings, the custom color settings specified via API are ignored. Otherwise, appearance customizations are applied to Image Uploader.

Default value is "true".

See Also

Reference