Adobe Photoshop CS5 Object Library JS: NewDocumentMode

Photoshop CS5

 The color profile to use.

Value

NameDescriptionValue
NewDocumentMode.BITMAPBitmap. int 5
NewDocumentMode.CMYKCMYK. int 3
NewDocumentMode.GRAYSCALEGrayscale. int 1
NewDocumentMode.LABLab. int 4
NewDocumentMode.RGBRGB. int 2

Usage

In function

Document Documents.add ([width: UnitValue][, height: UnitValue][, resolution: number=72][, name: string][, mode: NewDocumentMode=NewDocumentMode.RGB][, initialFill: DocumentFill=DocumentFill.WHITE][, pixelAspectRatio: number=1.0][, bitsPerChannel: BitsPerChannelType=BitsPerChannelType.EIGHT][, colorProfileName: string])

As property

ContactSheetOptions.mode

PicturePackageOptions.mode

Jongware, 28-Aug-2012 v3.0.3iContents :: Index