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

ImageUploader.CmykImagesAreNotAllowedText Property

Supported in: ActiveX , Java

Text which appears instead of the description text field if the image is CMYK, when CMYK images are not allowed for the upload.

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("CmykImagesAreNotAllowedText", "File is CMYK");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setCmykImagesAreNotAllowedText(value);
value = getImageUploader("ImageUploaderID").getCmykImagesAreNotAllowedText();

Property Value

A string value that specifies a text which appears instead of the description text field if the image is CMYK.

Default value is "File is CMYK".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Manual

Reference