Adobe Illustrator CS6 Type Library JS: ColorConvertPurpose

Illustrator CS6

 Denotes the purpose of color conversion using ConvertSmapleColor method.

Value

NameDescriptionValue
ColorConvertPurpose.defaultpurposeDo standard conversion, without black preservation. int 0
ColorConvertPurpose.dummypurposeDummy option. int 4
ColorConvertPurpose.exportpurposeConversion options appropriate to creating an image for print or export. int 2
ColorConvertPurpose.previewpurposeConversion options appropriate to creating an image for screen display. int 1

Usage

In function

Array of number Application.convertSampleColor (sourceColorSpace: ImageColorSpace, sourceColor: Array of number, destColorSpace: ImageColorSpace, colorConvertPurpose: ColorConvertPurpose[, sourceHasAlpha: bool=false][, destHasAlpha: bool=false])

Jongware, 25-Nov-2012 v3.0.3iContents :: Index