restrictions.enableCmyk Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether it is impossible to select CMYK images for the upload.

Syntax

JavaScript Initialize
$au.uploader({
    restrictions: {
        //...other params...
        enableCmyk: true,
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').restrictions().enableCmyk(value);
value = $au.uploader('uploaderID').restrictions().enableCmyk();

Property Value

Type: Boolean

If false, a user cannot select CMYK images for the upload. Otherwise, CMYK images are allowed to be uploaded.

Default value is true.

See Also

Reference

Manual