ColorSetting
Color management settings.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, ColorSettingsPolicy, DefaultRenderingIntent, EventListeners, Events, File, Object, String
Hierarchy:
Superclass: Preference
Class: ColorSetting
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
If true, uses LAB alternates for spot colors when available. |
||
read/write |
The current color management system settings configuration. Note: For information on possible values, see CMS settings list. |
||
readonly |
A list of valid color management system settings configurations. |
||
read/write |
The file path of the CSF file to use. |
||
read/write |
The policy for handling colors in a CMYK color model, including reading and embedding color profiles, resolving mismatches between embedded color profiles and the working space, and moving colors between documents. |
||
read/write |
If true, enables color management. |
||
read/write |
The color management module (CMM) for mapping color space gamuts between documents. |
||
readonly |
The available color engines. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
If true, uses idealized black for CMYK-to-RGB or CMYK-to-Gray conversions to print or export. |
||
read/write |
If true, uses idealized black for CMYK-to-RGB or CMYK-to-Gray conversions to the screen. |
||
read/write |
The default rendering intent. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
If true, displays a prompt when opening a file whose embedded color profile does not match the current working space. The prompt provides the option to override the default mismatch behavior. |
||
read/write |
If true, displays a prompt when importing an object (via pasting, drag-and-drop, or other similar methods) whose colors do not match the current working space. The prompt provides the option to override the default mismatch behavior. |
||
read/write |
If true, displays a prompt when opening a file that does not have an embedded color profile. The prompt provides the option to assign a color profile. |
||
readonly |
The parent of the ColorSetting (a Application). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The policy for handling colors in an RGB color model, including reading and embedding color profiles, handling mismatches between embedded color profiles and the working space, and moving colors from one document to another. |
||
read/write |
If true, uses black point compensation to ensure that shadow detail is preserved by simulating the full dynamic range of the output device. |
||
read/write |
The current CMYK profile. |
||
readonly |
A list of valid CMYK color profiles. |
||
read/write |
The current RGB profile. |
||
readonly |
A list of valid RGB color profiles. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
ColorSetting getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the ColorSetting.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.colorSettings
Event.parent
EventListener.parent
MutationEvent.parent