Adobe Illustrator CS4 Type Library JS: ColorConvertPurpose

Illustrator CS4

 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, 27-Jun-2010 v3.0.3dContents :: Index